自定义的弹性魔豆AMI [英] Customizing an Elastic Beanstalk AMI

查看:169
本文介绍了自定义的弹性魔豆AMI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在弹性魔豆使用GlassFish服务器编写的Java应用程序。 亚马逊怎么一回事,因为并没有让我选择一个AMI与Glassfish的,我选用之一,Tomcat和我修改了应用程序在Tomcat的正常工作。

I need to use on Elastic Beanstalk a Java application written for Glassfish server. Beacuse of Amazon doesn't let me choose an AMI with Glassfish, I choosed one with Tomcat and i modified my application to work properly on Tomcat.

现在,我已经看到了我还需要使用Sun的JDK,而默认情况下,弹性魔豆AMI自带的OpenJDK。我用Google搜索了很多,发现了一些(没有这么多的资源)有趣的帖子像<一个这个答案href="http://stackoverflow.com/questions/8049431/customize-elastic-beanstalk-instances">StackOverflow

Now, I've seen I also needed to use a Sun JDK, while by default Elastic Beanstalk AMI comes with openjdk. I googled a lot, finding some (not so many resources) interesting posts like this answer on StackOverflow

我不能理解的是这部分的答案:

What I can't understand is this part of the answer:

这是亚马逊的魔豆的运行实例创建自定义的AMI   AMI,你从EC2手动启动,而不是一个一个从推出   通过魔豆开始您的应用程序。

Create your custom AMI from a running instance of Amazon's beanstalk AMI that you manually launch from EC2, NOT one that was launched from starting your application through beanstalk.

所以,我的问题是:有没有人如何在弹性魔豆使用自定义的AMI与Glassfish的? 如果这是不可能的,有人可以解释我如何创建自定义的AMI?

So, my question is: does anyone how to use a custom AMI with Glassfish on Elastic Beanstalk? If it's not possible, can someone explain me how to create the custom AMI?

谢谢, 安德烈

推荐答案

这个答案只是意味着不要启动一个豆茎的应用程序,直接从这些实例之一切一个AMI,而是基于魔豆的AMI启动一个实例(这是在公共AMI上市可用)。即,使用其中的一个;注有他们的84:

That answer just means "Don't start a beanstalk application and cut an AMI directly from one of those instances. Instead, launch an instance based on the beanstalk AMIs (which are available in the public AMI listing)." I.e., use one of these; note there are 84 of them:

剪下自己的私人AMI当你完成配置的情况下,并在你的魔豆环境中指定。

Cut your own private AMI when you're done configuring that instance, and specify it in your beanstalk environment.

这篇关于自定义的弹性魔豆AMI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆