Giter VIP home page Giter VIP logo

cicd-for-ecs-workshop-code's Introduction

CICD for ECS Workshop Code

This project contains a number of code/template samples that are designed to be used in conjunction with the CICD for ECS workshop

Security

See CONTRIBUTING for more information.

License

This code is licensed under the MIT-0 License. See the LICENSE file.

cicd-for-ecs-workshop-code's People

Contributors

amazon-auto avatar jeffgardnerdev avatar pacobart avatar rizblie avatar seanclerkin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cicd-for-ecs-workshop-code's Issues

AWS ECR login command deprecated

awscli v2 doesn support aws ecr get-login command anymore:

CodeBuild output for lab 1:

[Container] 2023/09/27 21:11:25 Running command $(aws ecr get-login --region $AWS_DEFAULT_REGION --no-include-email)
--
30 |  
31 | usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
32 | To see help text, you can run:
33 |  
34 | aws help
35 | aws <command> help
36 | aws <command> <subcommand> help

Resolution: change aws ecr get-login with aws ecr get-login-password

aws ecr get-login-password --region $AWS_DEFAULT_REGION | docker login --username AWS --password-stdin <AWS_ACCOUNT_ID>.dkr.ecr.us-west-2.amazonaws.com

Unzip problem

When unzipping the lab files I got an error about it being an invalid zip file. Downloaded it locally and unzipped it in windows fine, and uploaded the unzipped folder to get it working. I seemed to have the same issue with a zip downloaded from this github repo, so not sure if it is the version of unzip that is at fault. I'm in a bit of a rush for a job interview tomorrow or this report would be a bit better. Sorry!

CloudFormation stack creation fails at ECS auto scaling

I'm trying to complete the CI/CD Workshop for Amazon ECS (https://catalog.us-east-1.prod.workshops.aws/v2/workshops/869f7eee-d3a2-490b-bf9a-ac90a8fb2d36/en-US/). I got the Cloud9 IDE set up correctly and the git repo cloned.

I'm trying to create the prod and staging environment stacks, but both CloudFormation templates fail at the ECSAutoscaling part with cryptic error "The requested configuration is currently not supported". The CloudFormation template in question is Cluster-ECS-EC2-2AZ-ALB-1NAT.yaml.

I am in region eu-north-1 (Stockholm). Any ideas what's wrong?

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.