Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 646 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 646 Bytes

Create a small instance with Terraform scripts

brew install jq
aws --version

aws ec2 describe-images --owners ******  --filters 'Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-????????' 'Name=state,Values=available' --output json | jq -r '.Images | sort_by(.CreationDate) | last(.[]).ImageId'

terraform apply
terraform show

ASG: Autoscaling group

Auto Scaling Groups (ASG) can automatically provision more instances of our microservice when the loads increase