Pushing to an existing AWS Elastic Beanstalk application from the command line

前端 未结 3 872
孤街浪徒
孤街浪徒 2021-01-12 03:57

I\'ve used the web dashboard of Elastic Beanstalk to make an application and an environment. I know I can update that using the dashboard and uploading a zip file of my appl

3条回答
  •  长发绾君心
    2021-01-12 04:16

    1. Created Application in aws.amazon.com->elastic beanstalk and trying to access the application on the eb CLI:

      a. When you provide eb init on console, CLI will prompt you to choose the region.

      b. Make sure to choose the same region as the one you choose on the webpage. (Note: if you don't choose the same region, it is going to take you into creating a whole new application. This was the mistake I did)

    2. Creating application using eb CLI first locally and then trying to access the same application on the webpage.

      a. $> eb console (from the app root directory, provided you did $> eb init initially)

      b. You can directly login into the website and make sure to choose the same region (eg: US - N California) where you configured the app locally and you should be able to see the application you deployed.

提交回复
热议问题