Giter VIP home page Giter VIP logo

cloudformationtemplates's Introduction

Generalized Templates

Parameters:

General

  • CertificateARN
    • If you want to set a HTTPS protocol, you can add this Certificate and change the elb and the master template.
  • StackEnv
    • Environment name you are going to deploy (if needed)
      • qa
      • prod
  • ImageTag
    • With this parameter we will look for the image in the task definition

Cluster configuration

  • InstanceType
    • Instance type ECS cluster w ill build on.
  • MinSize
    • Minimum number of EC
  • DesiredSize
    • Number of instance EC2 on the auto scaling group and can't be less than min size
  • MinSize
    • Minimum number of EC2 instances on the auto scaling group
  • MaxSize
    • Maximum number of EC2 instance on the auto scaling group
  • KeyPair
    • Key for EC2 instances.

Database configuration

  • DBMasterUsername
    • Name of the master user in the new database that will be created
  • DBMasterUserPassword
    • Password of the master user in the database
  • DBInstanceClass
    • Type of the compute an capacity classes of the database, usually db.t2.micro
  • DBEngine
    • Database engine that the database instance will use
      • MySQL (default)
      • Postgress
  • DBName
    • Name of the database instance provided at the time of the creation
  • DBInstanceIdentifier
    • Name of the database
  • DBAllocatedStorage
    • Allocated storage size for the data base instance in GB
      • Default: 100Gb

Cache configuration

  • CacheNodeType
    • The compute and memory capacity of nodes in the cache cluster
  • CacheEngine
    • The engine of the elastic cache instance
  • CacheClusterName
    • Name for the cluster cache
  • CacheNumCacheNodes
    • Size of the cache nodes in the cluster.

Generalized Stacks

  1. VPC Template
    • This template creates a VPC with four subnets:
      • 2 public and 2 private.
  2. Security Group Template
    • Creates two Security groups, one accepts public network traffic and the other accepts only the public security group traffic
  3. Elastic LoadBalancer V2 Template
    • This template creates and Elastic Load Balancing Applicaion with a listener and a default target group to set up later
  4. ECS Cluster Template
    • This template creates:
      • ECS Cluster
      • Auto Scaling group
      • Sacle Up policy
      • Scale Down policy
      • CloudWatch Memory Alarm Up/Down
      • CloudWatch CPU Alarm Up/Down
      • Launch Configuration
      • Role for ECS
      • Instance profile
  5. RDS instance Template
    • This template creates a subnet group and a database instance.
  6. Elastic Cache Cluster Template
    • This template creates a subnet group and a cluster of cache.
  7. Client Service Template
    • This templates creates :
      • Auto scaling for the ECS service
      • Scaling policy for the ECS service
      • CloudWatch Alarm of HTTP errors 500
      • ECS Service
      • Task Definition using a ECR images
      • CloudWatch Log group
      • Target group
      • Rule for the listener in the ELB V2
      • Role for service instance
      • Role for auto scaling

cloudformationtemplates's People

Stargazers

Ian Duffy avatar

Watchers

James Cloos avatar Fernando González avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.