Giter Club home page Giter Club logo

aws-cloudformation's Introduction

AWS-CloudFormation

This project is aim to learn core and advanced components of AWS CloudFormation.

Introduction to CloudFormation

  • Simple EC2 Resource creation (Resource, Tags)
  • CFN- Parameters, Mappings, Outputs and Intrinsic functions like Ref , GetAtt etc.
  • CFN- Init (packages, files, services, commands), UserData

Advanced CloudFormation

  • UserData to install wordpress on EC2.
  • CFN Init,configSets, hup to write software requirement declarative way.
  • CFN CreationPolicy, DeletionPolicy during creation and deletion.
  • CFN Intrinsic functions like Conditions.
  • Enhance CFN Init to automate wordpress configuration.

Self Service Portal

  • Resource and Self Service Bucket Provisioning.
  • Support IAM user.
  • Role for CloudFormation Stack.
  • Customer role for Users to update and delete stack.
  • Google Authentication Setup (Manual). Create an API for Google Authentication.
  • AWS Congnito Setup(Manual)- Create an Identity Pool and add Authentication with Google+. Add created Role from template. To be automated.
  • Support html setup and upload into S3.
  • Self Service html setup and upload into S3.
  • Upload Wordpress CFN template into S3 Bucket.

Architecture

Screenshot

Website Demo

Screenshot

Self Service App

This project is based on the concept of self service portal for Developers, Testers and PreSales guys who wants their infrastructure available on demand. Hows that when the Presales team is presenting a demo and client requested for a different version of the application, Presales person just clicked a button and a verified and tested application with required infrastructure is spun up. Or even you want to develop a new feature of the application, you just hit a button and start coding on a standalone instance instead of having DEV/TEST version environments and multiple developers working on the same instance. Continuing learnings of Advanced Cloudformation at A Cloud Guru In this project, We solved three problems 1: User has to enter shared infrastructure stack values like VPC Id and other => Solved using Inter Stack references. 2: No test of application for success(creation policy) on updates of the stack. => Solved by using Autoscaling AutoScalingReplacingUpdate functionality. 3: Manual inputs for the Subnets CIDR range for application stack. => Solved by using CustomResource in cfn which uses a Lambda with DynamoDB to generate valid CIDR range automatically during stack creation.

Architecture

Screenshot

Website Demo

Screenshot

aws-cloudformation's People

Contributors

erankitcs avatar

Stargazers

 avatar

Watchers

 avatar  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.