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

About

This is an implementation based on acloud.guru's Acloud.guru example (https://read.acloud.guru/building-a-highly-scalable-resilient-rest-api-with-terraform-go-and-aws-94377b90fd24)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published