Architecture
From AWS AutoScaling
Go to text ā
Creating an environment manually
- SecurityGroup [SG]
alb-sg
- allow
tcp/80
from0.0.0.0/0
- allow
tcp/443
from0.0.0.0/0
- allow
- SecurityGroup
alb-2-app-sg
- allow
tcp/80
from self - allow
tcp/443
from self
- allow
- TargetGroup [TG]
- LoadBalancer [LB] (pointing to TargetGroup)
- LaunchTemplate [LT]
- AutoScalingGroup [ASG]
- add to sg
alb-2-app-sg
- register ASG with TG
- use Default version from LT
- add to sg
Using a custom image
- create separate instance
- connect via SSH
- install
nginx
- in EC2 create image
- modify LT to use new image
- start instance refresh
Add a database
- SG
app-2-db
- create instance
- copy connection information around
- follow Using a custom image to recreate image and renew instances
Children