Git Product home page Git Product logo

enixdark / amazon-ecs-catsndogs-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/amazon-ecs-catsndogs-workshop

0.0 3.0 0.0 476 KB

This is self-paced workshop designed to allow developers and system administrators to get hands on with Amazon Elastic Container Service concepts such as service and container-instance auto-scaling, spot-fleet integration, container placement strategies, service discovery, secrets management with AWS Systems Manager Parameter Store, time-based and event-based scheduling, and automated deployment pipelines.

License: Apache License 2.0

JavaScript 0.54% Python 29.45% HTML 34.13% Shell 35.88%

amazon-ecs-catsndogs-workshop's Introduction

alt text

Workshop overview

Welcome to catsndogs.lol, the fifth most highly rated cat and dog meme sharing website in Australia and New Zealand. Our mission is to serve a wide range quality of cat and dog memes to our customers. Memes come and go quickly, and we are starting to see larger and larger surges in customer demand. catsndogs.lol uses Docker containers to host our application. Until today we’ve run everything on a spare laptop, but now we’re moving to the Amazon Elastic Container Service (ECS). Our DevOps Shepherd wants to take advantage of the latest and greatest features of the ECS platform. We also have several new initiatives that the developers and data science teams are keen to release. As the new DevOps team, you will create the ECS environment, deploy the cats and dogs applications, cope with our hoped-for scaling issues, and enable the other teams to release new features to make our customers happier than ever. Welcome aboard!

Initial environment setup

Prerequisites

This workshop requires:

  • A laptop with Wi-Fi running Microsoft Windows, Mac OS X, or Linux.
  • The AWSCLI installed.
  • An Internet browser such as Chrome, Firefox, Safari, or Edge.
  • An AWS account. You will create AWS resources including IAM roles during the workshop.
  • An EC2 key pair created in the AWS region you are working in.
  • This workshop can be run in any of the following AWS regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Singapore) and EU (Ireland).

Initial Setup

  1. Clone this repository to your local workspace. This contains the CloudFormation templates and other materials you will need during the workshop.

  2. If you do not already have an EC2 keypair created, sign-in to the AWS EC2 console at https://console.aws.amazon.com/ec2/ a. Click Key Pairs and then click Create Key Pair. b. Give the key pair a name and click Create. The console will generate a new key pair and download the private key. Keep this somewhere safe.

  3. Deploy the initial CloudFormation template. This creates IAM roles, an S3 bucket, and other resources that you will use in later labs. The template is called cfn-templates/Lab0-baseline-setup.yml If you are sharing an AWS account with someone else doing the workshop, only one of you needs to create this stack. In Stack name, enter catsndogssetup. Later labs will reference this stack by name, so if you choose a different stack name you will need to change the LabSetupStackName parameter in later labs.

  4. Be sure to tick the I acknowledge that AWS CloudFormation might create IAM resources with custom names check box.

Where do you go from here?

Labs
Cost management and EC2 scaling
ECS Service deployment and task Auto Scaling
Deploying a new version of the cats service with secrets management
Running ECS tasks based on time and events
Machine Learning containers and placement constraints
Automated Deployments
Advanced Deployment Techniques
Clean up

Participation

We encourage participation; if you find anything, please submit an issue. However, if you want to help raise the bar, submit a PR!

License

This library is licensed under the Apache 2.0 License.

amazon-ecs-catsndogs-workshop's People

Contributors

erol avatar mitchybawesome avatar rnzsgh avatar

Watchers

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