mardi 3 février 2015

Steps to deploy file.war in ElasticBeansTalk

I try to deploy a file.war in my Elastic Beanstalk Account via eclipse java code..while creating an application with CreateApplicationRequest i have to specify the location of the source file..My question is ,should i create first an Simple storage Bucket and i add my war file into it, then call it with



String S3Bucket="amazonaws.com";
String S3Key="SampleServlet.war";

S3Location s=new S3Location(S3Bucket,S3Key);

CreateApplicationVersionRequest v=new CreateApplicationVersionRequest(appName,description);
v.setVersionLabel(versionLabel);
v.setSourceBundle(s);

eb.createApplicationVersion(v);


?? Can you help me Please ..


Aucun commentaire:

Enregistrer un commentaire