mysql - Best way to deploy java application on AWS using Netbeans? -
i have publicly accessed database on rds works charm netbeans. deploy java application on aws. simplest way this? use application basic tasks, getting used cloud computing working on small scale. ec2 best bet , possible upload apps google app engine plugin. can use same jdbc driver use locally, , can use jpa against database? rather not use eclipse in bit of hurry , need working possible.
this lot of questions 1 question, i'll see if can out.
1. simplest way deploy aws
if application simple is, cost effective solution while you're getting used aws deploy micro instance , take advantage of the free tier. amazon:
aws free tier includes 750 hours of linux , windows micro instances each month 1 year. stay within free tier, use ec2 micro instances.
the simplest way deploy directly netbeans use integrated elastic beanstalk support. saves having configure things yourself.
another option launch ubuntu ami , install tomcat. create war file application , place tomcat can find it. suggest using first method.
2. ec2 best bet?
this little open ended. nice learning experience accustomed aws, free tier ec2 nice platform learn with. if application needs scale, using ebs pretty simple way manage application. answer opinion because "best bet" depends solely on requirements of application, yes.
3. possible upload apps google app engine plugin?
for simple applications think so. think it's easier if switch eclipse , use toolkit aws. whether google app engine or aws easier once again depend on personal preference, application, , requirements.
4. can use same jdbc driver use locally?
if you're using mysql connector/j yes. read this understand how works rds.
5. can use jpa against database?
yes. you'll change endpoint localhost endpoint of rds instance.
6. rather not use eclipse now...
another personal preference, aws toolkit eclipse easy use , can speed process bit.
Comments
Post a Comment