Skip to content

sk-t3ch/AWS-Auto-Scaling-Fargate-Cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

T3chFlicks: AWS Auto Scaling Spot Fleet Cluster Quickstart

Quickstart for running an example Service on AWS in an Auto Scaling Fargate Cluster thumbnail


tutorials/

Generic badge

Generic badge

Architecture

architecture

Example Usage

example usage

Step By Step Deployment

  1. Deploy VPC
    • aws cloudformation create-stack --stack-name vpc --template-body file://aws/00_vpc.yml --capabilities CAPABILITY_NAMED_IAM
    • tutorial for VPC can be found here
  2. Deploy Load Balancer
    • aws cloudformation create-stack --stack-name loadbalancer --template-body file://aws/01_load_balancer.yml --capabilities CAPABILITY_NAMED_IAM
  3. Deploy Cluster
    • aws cloudformation create-stack --stack-name cluster --template-body file://aws/02_ecs.yml --capabilities CAPABILITY_NAMED_IAM
    • Upload Docker image of Web Sever to ECR
      1. docker build -t your_repo_name .
      2. docker tag your_repo_name your_repo_name_tag
      3. docker push your_repo_name
  4. Deploy Service
    • Update template with your Docker image
    • aws cloudformation create-stack --stack-name service --template-body file://aws/03_service.yml --capabilities CAPABILITY_NAMED_IAM

This project was created by T3chFlicks - A tech focused education and services company.