Below is the best link I found for creating a basic Java web project that deploys over AWS.
http://blog.teamextension.com/getting-started-with-aws-elastic-beanstalk-179
Summary:
You must have a valid AWS account, have signed up for Elastic Beanstalk, and have the Eclipse AWS plugin installed. Once all of that is done, Open up Eclipse and create a new aws java web project. Do the rest of the programming the same way you would a normal java web project. When the programming is finished, right click the project name, and go to run as.. and click run on server. When this window pops up, designate a new AWS tomcat server to run on. Once completed, Eclipse will upload the project onto AWS and will be accessible through the AWS console.
An important thing to remember is that when you run your project on the server, AWS creates a S3 bucket for the server to draw files from, and creates and starts an instance for the web server to run on. This instance will stay running and continue to charge your account if you don't turn it off when you are finished.
No comments:
Post a Comment