首页 > 代码库 > AWS Elastic Beanstalk + Tomcat
AWS Elastic Beanstalk + Tomcat
AWS - Amazon Web Services (AWS) - Cloud Computing Services
EC2 - Amazon Elastic Compute Cloud (EC2)
Create First Application in Elastic Beanstalk
1. Login AWS -> Services -> All AWS Services -> EC2
2. EC2 Dashboard -> Network & Security -> Key Pairs -> Create Key Pairs
Note: this key pairs will be used to connect to EC2 instance by SSH client such as PuTTY and WinSCP etc.
3. Services -> All AWS Services -> Elastic Beanstalk -> Create New Application
Note: The created key pair will be used at the step Configuration Details
4. Services -> All AWS Services -> Elastic Beanstalk -> ${Application Name} -> Application Versions -> Deploy
Note:
- Please refer to the guide at http://docs.aws.amazon.com/zh_cn/AWSEC2/latest/UserGuide/putty.html to connect EC2 instance.
- Go to /usr/share/tomcat7 and the typical tomcat directory can be listed here.
- Before any operation in tomcat directory, the proper permission should be granted. For example, "sudo chmod 777 logs -R" should be executed if you want to see tomcat logs.
- Don‘t need to find your application directory in /usr/share/tomcat7/webapps since your application is always deployed to ROOT.
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。