AWS Services Available for Testing
EC2 Instances (Virtual Machines / Servers)
EC2 instances are virtual servers. They are elastic, meaning they can easily scale up or down.
- Use nano, micro, small, or medium sizes for t1, t2, and t3 instances.
- Use gp2 (General Purpose) volumes with a maximum storage size of 30GB.
- Maximum of 3 stopped instances. If exceeded, all are terminated.
- EC2 instances stop behavior is set to "terminate."
- Total number of EC2 instances is limited to 5.
- Ensure a default VPC exists, creating one if necessary.
S3 - Object Storage
S3 buckets store files for easy upload and download.
- Bucket names must be unique. Add random numbers to ensure uniqueness.
RDS - Relational Database Service
RDS supports MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server, and Amazon Aurora.
- Use the Free tier for MySQL, MariaDB, and PostgreSQL.
- For other engines, use a Single DB Instance, Burstable Class, micro or small instance, and General Purpose SSD (gp2).
EKS - Elastic Kubernetes Service
EKS quickly sets up a Kubernetes cluster.
- Cluster service role name: eksClusterRole
- CloudFormation stack name: eks-cluster-stack
- Limit of 3 EC2 nodes per node group.
- Allowed EC2 instance types: t2.micro, t2.nano, t2.small, t2.medium, t3.micro, t3.nano, t3.small, t3.medium.
- Limit of 3 Fargate profiles per cluster.
ECR - Elastic Container Registry
Create and manage container repositories, similar to Docker Hub.
Lambda - Serverless Computing
Run code without managing servers.
- Memory size is limited to 256 MB, and timeout to 10 seconds. Violations are updated to 128 MB and 3 seconds.
- If a function is invoked over 300 times in the last hour, it is deleted.
CodePipeline - CI/CD Service
Automates build, test, and deploy phases.
- Compute types limited to t3.micro, t3.small, t3.medium. Violations updated to t3.micro.
CodeDeploy - Deployment Service
Automates application releases.
- Allowed EC2 instance types: t2.micro, t3.micro, t3.nano. Violations updated to t2.micro.
CodeBuild - Build Service
Compiles source code, runs tests, and produces packages.
- Allowed compute types: BUILD_GENERAL1_SMALL, BUILD_GENERAL2_SMALL.
- Violations updated to BUILD_GENERAL1_SMALL.
ECS - Elastic Container Service
Manages containerized applications.
- Limit of 3 container instances (EC2) per cluster. Violations result in cluster deletion.
- Allowed EC2 instance types same as EKS.
- Limit of 3 Fargate tasks per cluster.
DynamoDB - NoSQL Database Service
Provides fast, scalable NoSQL databases.
- Provisioned throughput set to 1 read and 1 write capacity unit.
- Billing mode set to "PAY_PER_REQUEST."
Other Services Available in the Playground
- SNS - Simple Notification Service
- KMS - Key Management Service
- VPC - Virtual Private Cloud
- CloudShell - Command line in the browser
- CodeCommit - GitHub-like repository
- Certificate Manager - Manage SSL/TLS certificates
- CloudFormation: Infrastructure as code.
- CloudWatch: Monitoring and logging.
- CodeArtifact: Package repository.
- CloudTrail: API call logging.
- EKS: Managed Kubernetes.
- SES: Email service.
- SQS: Message queuing.
- Secret Manager: Secret storage.
- CloudFront: Content delivery.
- CloudShell: Browser-based shell.