Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left

00 D 09 H : 52 M : 50 S   Apply Now

Deploying Single Container Static App with Docker & Travis CI on AWS Elastic Beanstalk

22 / 27

Please login to comment

5 Comments

Hi Team,

After having the successful build through Travis CI , i am getting the below error in EBS as well as getting 502 Gateway error when i am trying to launch the application.Can you please let me know , where am i making the mistakes.

 

 2  Upvote    Share

This hapened because when creating the Beanstalk Application you choose Docker Runtime Amazon Linux 2 and not Linux 1 !! Works fine with Amazon Linux 1 . Meanwhile Amazon Linux 1 is deprecated and this is not nice. Wonder what it needs to get it running on Amazon Linux 2 so its nor more deprecated .

 4  Upvote    Share

Thanks a lot Felix !!! it worked. I terminated the env and created a new EBS with Amazon Linux and it worked. Not sure whats the issue with Docker Runtime Amazon Linux 2.

  Upvote    Share

Hi felix, 

i tried to create a new application and choose amazon linux 1 but there is no option present and both are not working 

could you please help

  Upvote    Share

Hi Team,

I have added the AWS access and secret key with Travis and added travis.yml file to my git repo. When i did the git push its giving the below error in travis CI

 

 

 1  Upvote    Share