Skip to content

Example project for an EC2 autoscaling setup using Amazon Linux 2 and systemd.

Notifications You must be signed in to change notification settings

fstehle/aws-ec2-amzn2-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-ec2-amzn2-example

Example project for an EC2 autoscaling setup using Amazon Linux 2 and systemd.

Deployment

make deploy STAGE=dev AWS_REGION=eu-central-1

Make some requests

Get the endpoint of the load balancer:

export STAGE=dev AWS_REGION=eu-central-1
./awsinfo.sh cfn outputs --region ${AWS_REGION} aws-ec2-amzn2-example-${STAGE}-ec2

Make some requests

$ curl .....elb.amazonaws.com

Get service logs

export STAGE=dev AWS_REGION=eu-central-1
./awsinfo.sh logs --region ${AWS_REGION} -G -s "-5minutes" aws-ec2-amzn2-example-${STAGE}-ec2/service

About

Example project for an EC2 autoscaling setup using Amazon Linux 2 and systemd.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published