https://github.com/jonasfschuh/aws-cdk
This is project uses the AWS Cloud Development Kit (CDK) to accelerates cloud development by using Java to model your applications.
https://github.com/jonasfschuh/aws-cdk
aws aws-cdk aws-ec2 aws-s3
Last synced: 3 months ago
JSON representation
This is project uses the AWS Cloud Development Kit (CDK) to accelerates cloud development by using Java to model your applications.
- Host: GitHub
- URL: https://github.com/jonasfschuh/aws-cdk
- Owner: jonasfschuh
- Created: 2024-09-14T18:48:35.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-22T14:45:56.000Z (almost 2 years ago)
- Last Synced: 2025-08-23T21:32:23.487Z (11 months ago)
- Topics: aws, aws-cdk, aws-ec2, aws-s3
- Language: Java
- Homepage:
- Size: 7.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS CDK






This is project uses the AWS Cloud Development Kit (CDK) to accelerates cloud development
by using Java to model your applications.
It is a [Maven](https://maven.apache.org/) based project, so you can open this project with any Maven compatible Java IDE to build and run tests.
- Java 17
- Amazon ECS with Fargate
- Target Blue concept
- Load Balanced Fargate Service
- Auto Scaling Group
## Table of Contents
- [Diagram](#diagram)
- [Installation](#installation)
- [Configuration](#configuration)
- [Useful commands](#useful-commands)
- [Usage](#usage)
- [Screenshots](#screenshots)
## Diagram
Architecture diagram

## Installation
1. Clone the repository:
```bash
git clone https://github.com/jonasfschuh/aws-cdk.git
```
2. Install according to the [official documentation](https://docs.aws.amazon.com/cdk/latest/guide/work-with-cdk-java.html)
Reference guide [Install or update to the latest version of the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
## Usage
1. Start the application with Maven
2. Step two
## Configuration
```bash
aws configure
AWS access key id: put your id here
AWS secret access key: put your access key here
Default region name: us-east-1
Default output format: JSON
```
To install aws-cdk
```bash
npm install -g aws-cdk
```
To check cdk version
```bash
cdk --version - 2.158.0 (build 4b8714d)
```
To check NodeJS version
```bash
npm --version
10.8.3
```
```bash
aws --version
aws-cli/2.17.51 Python/3.11.9 Windows/10 exe/AMD64
```
Init project
```bash
cdk init app --language java
```
## Useful commands
The `cdk.json` file tells the CDK Toolkit how to execute your app.
* `mvn package` compile and run tests
* `cdk ls` list all stacks in the app
* `cdk synth` emits the synthesized CloudFormation template
* `cdk deploy` deploy this stack to your default AWS account/region
* `cdk diff` compare deployed stack with current state
* `cdk docs` open CDK documentation
## Screenshots
Cloud Formation Console

AWS CDK Terminal Console

AWS_RESTFUL running on AWS server

Docker Hub Images Generated

AWS Load Balancers

AWS Load Balancers Detail
