Closed jiajing28 closed 7 years ago
The contents of dist/ should probably go under the location /static
to improve performance, since this is a completely static site (it doesn't require a runtime environment).
Configuring the Proxy Server http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_nodejs.container.html
We might want to mention that choosing Beanstalk as an option would run for 10 minutes or so
After running the command to install the environment on beanstalk, I got the following (the messages seem to contradict each other):
INFO: Successfully launched environment: budilov2test
Elastic Beanstalk environment creation failed
Region: us-west-2
It would be great to see the create script print a URL which I could call to test the newly deployed environment. Is that possible with our APIs?
Is there a "delete environment" script?
The script should have the ability to take an aws 'profile' as a value.
A brief set of command of how to update your app using beanstalk would be helpful in the README. Basically, once deployed, how do I redeploy with changes and not recreate some of the resources (like DDB)?
@vbudilov commented on Feb 11, 2017, 6:30 AM PST:
We might want to mention that choosing Beanstalk as an option would run for 10 minutes or so
Agreed. I'll add a line mentioning this to the logs. I think it's also worthwhile to add to the README a link describing what Elastic Beanstalk and S3 are. This would be especially useful before they run the createResources script
@vbudilov commented on Feb 11, 2017, 6:40 AM PST:
It would be great to see the create script print a URL which I could call to test the newly deployed environment. Is that possible with our APIs?
eb open
will launch the deployed web app in a browser. You can also run eb status
to see attributes of the environment which will include the url but I think this is "additional" information that people who are interested can find through the eb cli link.
@vbudilov commented on Feb 11, 2017, 6:40 AM PST:
Is there a "delete environment" script?
Yes, eb terminate
deletes an environment. Again, users can find this command by following the eb cli link.
@vbudilov commented on Feb 11, 2017, 6:43 AM PST:
The script should have the ability to take an aws 'profile' as a value.
Can you describe what you define as an aws 'profile'?
Made updates to the createResource script that prompts users for a dynamic root name as well as a choice in whether they want to upload their application to S3 or Elastic Beanstalk