Skip to content

OpenSystemsLab/terraform-simple-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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