Contents:
Before starting this workshop, make sure you have the following:
Important: This workshop will create AWS resources that may incur charges.
Estimated cost: $5-10 USD for the entire workshop.
Remember to clean up resources after completion!
You need an AWS account with the following:
Service | Estimated Cost/Hour | Notes |
---|---|---|
Fargate Tasks | $0.04 - $0.08 | 3 services, 0.25 vCPU, 0.5GB RAM each |
Application Load Balancer | $0.025 | Standard ALB pricing |
Aurora Serverless v2 | $0.06 - $0.12 | Depends on usage |
NAT Gateway | $0.045 | Data processing charges |
CloudWatch Logs | $0.50/GB | Minimum expected logs |
ECR Storage | $0.10/GB/month | Container images |
Estimated Total | ~$0.25/hour | ~$1.00 for 4-hour workshop |
Instead of using the root account, create a dedicated IAM user for this workshop.
Log in to AWS Console → IAM
Users → Create user
User details:
fargate-workshop-user
Set permissions:
AdministratorAccess
Review and create
Download credentials or copy Access Key ID and Secret Access Key
aws --version
aws-cli/2.15.30 Python/3.11.8 Windows/10 exe/AMD64 prompt/off
AWS Access Key ID [None]: AKIA… AWS Secret Access Key [None]: wJalrXUt… Default region name [None]: us-east-1 Default output format [None]: json Verify your AWS CLI configuration
Check your identity: aws sts get-caller-identity
Check permissions: aws s3 ls
Check configured region: aws configure get region Expected aws sts get-caller-identity output:
{ “UserId”: “AIDACKCEVSQ6C2EXAMPLE”, “Account”: “123456789012”, “Arn”: “arn:aws:iam::123456789012:user/fargate-workshop-user” }
Download Docker Desktop: https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
Run the installer and follow setup instructions
Restart your computer after installation
Launch Docker Desktop from Start Menu
Verify installation:
docker –version docker run hello-world
Check Docker version: docker –version
Test Docker with hello-world: docker run hello-world
Check Docker Compose: docker compose version Expected hello-world output: Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
Download Git: https://git-scm.com/download/win Run the installer with default settings
Verify installation: git –version Basic Git configuration: git config –global user.name “Your Name” git config –global user.email “email@example.com”
Check your configuration: git config –list
VS Code (Recommended): https://code.visualstudio.com/
Install useful extensions:
AWS Toolkit – AWS services integration
Docker – Manage Docker containers
YAML – Syntax highlighting for YAML
JSON – JSON formatting
GitLens – Advanced Git features
Python – Python support
Go – Go language support
AWS CLI: aws –version aws sts get-caller-identity
Docker: docker –version docker run hello-world
Git: git –version
Check AWS region: aws configure get region
If all the above commands run successfully, you are ready for the workshop!