亚马逊云部署java程序,部署在Amazon云Java Web应用程序

I have a web application developed with Struts2, JSP, JPA, Spring and MySql. I want to move this application to Amazon Cloud. I have not done a cloud deployment before or know how to do it.

Can anyone help me on a step by step process or a procedure to follow or a document that will guide me in doing this. Thanks for your help.

解决方案

Got it... thanks for the detailed description.

You can make it in two ways

Create a singleBeanstalk application.

create different environments for each company within the created application, and in every environment deploy the .war file and provide the resources as per your requirement such as tomcat 6/7, minimum number of instances & maximum number of instances for Auto scaling. Health check monitor interval, no. of times to check before timeout etc.,. and finally assign the cname (i.e, the url by which you access the application) associated with the company name, like if the webapp is for xyz company then provide cname as xyz.elasticbeanstalk.com.

2 . Create multiple Beanstalk applications i.e., one for every company and in each application you can create multiple environments like Development, Beta, Staging and live - based on your requirement.

And coming to DB

Go for RDS if your DB is relational DB. Two ways to plan for multiple company's is

1) Create a single RDS and create multiple schema's in it i.e., one schema for one organization.

2) Create separate RDS for every organization - recommended if DB records are more

Let me know if you have any queries.

Happy to help...:)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值