View Code? Open in Web Editor
NEW
Generalized structure for AWS
JavaScript 11.61%
Python 4.95%
HTML 4.32%
CSS 79.12%
cloudformationtemplates's Introduction
- CertificateARN
- If you want to set a HTTPS protocol, you can add this Certificate and change the
elb
and the master
template.
- StackEnv
- Environment name you are going to deploy (if needed)
- ImageTag
- With this parameter we will look for the image in the task definition
- InstanceType
- Instance type ECS cluster w ill build on.
- MinSize
- DesiredSize
- Number of instance EC2 on the auto scaling group and can't be less than min size
- MinSize
- Minimum number of EC2 instances on the auto scaling group
- MaxSize
- Maximum number of EC2 instance on the auto scaling group
- KeyPair
- DBMasterUsername
- Name of the master user in the new database that will be created
- DBMasterUserPassword
- Password of the master user in the database
- DBInstanceClass
- Type of the compute an capacity classes of the database, usually db.t2.micro
- DBEngine
- Database engine that the database instance will use
- MySQL (default)
- Postgress
- DBName
- Name of the database instance provided at the time of the creation
- DBInstanceIdentifier
- DBAllocatedStorage
- Allocated storage size for the data base instance in GB
- CacheNodeType
- The compute and memory capacity of nodes in the cache cluster
- CacheEngine
- The engine of the elastic cache instance
- CacheClusterName
- Name for the cluster cache
- CacheNumCacheNodes
- Size of the cache nodes in the cluster.
- VPC Template
- This template creates a VPC with four subnets:
- Security Group Template
- Creates two Security groups, one accepts public network traffic and the other accepts only the public security group traffic
- Elastic LoadBalancer V2 Template
- This template creates and Elastic Load Balancing Applicaion with a listener and a default target group to set up later
- ECS Cluster Template
- This template creates:
- ECS Cluster
- Auto Scaling group
- Sacle Up policy
- Scale Down policy
- CloudWatch Memory Alarm Up/Down
- CloudWatch CPU Alarm Up/Down
- Launch Configuration
- Role for ECS
- Instance profile
- RDS instance Template
- This template creates a subnet group and a database instance.
- Elastic Cache Cluster Template
- This template creates a subnet group and a cluster of cache.
- Client Service Template
- This templates creates :
- Auto scaling for the ECS service
- Scaling policy for the ECS service
- CloudWatch Alarm of HTTP errors 500
- ECS Service
- Task Definition using a ECR images
- CloudWatch Log group
- Target group
- Rule for the listener in the ELB V2
- Role for service instance
- Role for auto scaling
cloudformationtemplates's People
Stargazers
Watchers