Discussion:
AWS: Tomcat 6 default?
Jason Osgood
2013-11-25 14:39:09 UTC
Permalink
Hi.

I’m trying to work thru stuff before asking stupid questions. But I’m also in a rush.

What servlet engine do people use on AWS? I created a CentOS instance on EC2. The tutorial(s), seemingly recent and up to date, show Tomcat 6. Tomcat 6? Is that the default?

I’ve been developing locally with Jetty 8. Of course, I want to use the same engine all around.

Are there servlet engines I shouldn’t use (yet)? I have the impression that AWS “officially” supports a subset. For monitoring? Because it was validated?

You can anticipate my upcoming questions… How do people build a deploy from github = AWS. Which AWS plugin (Eclipse, IntelliJ) do people prefer, if any.

Thanks for humoring me.


Cheers, Jason

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/seajug/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/seajug/join
(Yahoo! ID required)

<*> To change settings via email:
seajug-digest-***@public.gmane.org
seajug-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
seajug-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/
Piotr Wyrwinski
2013-11-25 17:04:19 UTC
Permalink
A couple of projects ago I worked on AWS hosted app.
We used Dropwizard (which embeds jetty).
This way we were able to start with just bare bonds instance and container was installed as a part of deployment process.

For deployment we used http://aws.amazon.com/cloudformation/ executed by home grown ruby scripts. This replaced manual installation.

It took some work, discovery to get to the scripted deployment. We started with deploying app manually, then just automated pieces as we learned more about it.
It was almost a year ago, so things might have improved since and there might be better guides, resources available to jump start you.

Have you considered services like heroku or such, which would provide you container, services if needed, and allow you to just deploy app?

Piotr






On Monday, November 25, 2013 6:39 AM, Jason Osgood <zappini-***@public.gmane.org> wrote:

Hi.

I’m trying to work thru stuff before asking stupid questions. But I’m also in a rush.

What servlet engine do people use on AWS? I created a CentOS instance on EC2. The tutorial(s), seemingly recent and up to date, show Tomcat 6. Tomcat 6? Is that the default?

I’ve been developing locally with Jetty 8. Of course, I want to use the same engine all around.

Are there servlet engines I shouldn’t use (yet)? I have the impression that AWS “officially” supports a subset. For monitoring? Because it was validated?

You can anticipate my upcoming questions
 How do people build a deploy from github = AWS. Which AWS plugin (Eclipse, IntelliJ) do people prefer, if any.

Thanks for humoring me.


Cheers, Jason

------------------------------------

Yahoo Groups Links



    http://info.yahoo.com/legal/us/yahoo/utos/terms/
dev danke
2013-11-25 17:15:13 UTC
Permalink
Very helpful question and answer. Thanks.
Post by Piotr Wyrwinski
A couple of projects ago I worked on AWS hosted app.
We used Dropwizard (which embeds jetty).
This way we were able to start with just bare bonds instance and container
was installed as a part of deployment process.
For deployment we used http://aws.amazon.com/cloudformation/ executed by
home grown ruby scripts. This replaced manual installation.
It took some work, discovery to get to the scripted deployment. We started
with deploying app manually, then just automated pieces as we learned more
about it.
It was almost a year ago, so things might have improved since and there
might be better guides, resources available to jump start you.
Have you considered services like heroku or such, which would provide you
container, services if needed, and allow you to just deploy app?
Piotr
Hi.
I’m trying to work thru stuff before asking stupid questions. But I’m also
in a rush.
What servlet engine do people use on AWS? I created a CentOS instance on
EC2. The tutorial(s), seemingly recent and up to date, show Tomcat 6.
Tomcat 6? Is that the default?
I’ve been developing locally with Jetty 8. Of course, I want to use the
same engine all around.
Are there servlet engines I shouldn’t use (yet)? I have the impression
that AWS “officially” supports a subset. For monitoring? Because it was
validated?
You can anticipate my upcoming questions… How do people build a deploy
from github = AWS. Which AWS plugin (Eclipse, IntelliJ) do people prefer,
if any.
Thanks for humoring me.
Cheers, Jason
------------------------------------
Yahoo Groups Links
Jason Osgood
2013-12-12 14:39:47 UTC
Permalink
Hi Piotr Wyrwinski.
Post by Piotr Wyrwinski
Have you considered services like heroku or such, which would provide you container, services if needed, and allow you to just deploy app?
Delayed followup.

No, I hadn’t. But now I will. (I have played with Google App Engine.)

Climbing the learning curve of AWS has definitely caused me to rethink quite a bit.

Shout out to George Smith for patiently explaining to me (again) the strategy of using S3 to cache the (mostly) static bits. That transition, in my code and in my thinking, will take some time.

I’ve decided that when I resurrect my personal blog, I’ll put it on Heroku (or rough equiv).

Thanks.


Cheers, Jason

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/seajug/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/seajug/join
(Yahoo! ID required)

<*> To change settings via email:
seajug-digest-***@public.gmane.org
seajug-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
seajug-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/

Konstantin Ignatyev
2013-11-25 17:24:14 UTC
Permalink
It is not that hard to create own machine image, just start with one
barebone, then install necessary pieces and run few commands to create AMI
and store it in your very own S3.

http://docs.aws.amazon.com/AWSToolkitVS/latest/UserGuide/tkv-create-ami-from-instance.html
Post by Piotr Wyrwinski
Hi.
I’m trying to work thru stuff before asking stupid questions. But I’m also
in a rush.
What servlet engine do people use on AWS? I created a CentOS instance on
EC2. The tutorial(s), seemingly recent and up to date, show Tomcat 6.
Tomcat 6? Is that the default?
I’ve been developing locally with Jetty 8. Of course, I want to use the
same engine all around.
Are there servlet engines I shouldn’t use (yet)? I have the impression
that AWS “officially” supports a subset. For monitoring? Because it was
validated?
You can anticipate my upcoming questions
 How do people build a deploy
from github = AWS. Which AWS plugin (Eclipse, IntelliJ) do people prefer,
if any.
Thanks for humoring me.
Cheers, Jason
------------------------------------
Yahoo Groups Links
--
Konstantin Ignatyev

PS: If this is a typical day on planet Earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate between
forty to one hundred species, erode seventy-one million tons of topsoil,
add 2,700 tons of CFCs to the stratosphere, and increase their population
by 263,000

Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a
Strategy for Reforming Universities and Public Schools. New York: State
University of New York Press, 1997: (4) (5) (p.206)
dev danke
2013-11-25 18:08:57 UTC
Permalink
I believe Konstantin, that it's relatively easy to build your own image for
development. But if you want to use the image for production, the there
are issues of security and perhaps optimization. In this case, could
pre-built images be a better choice? If yes, then you'd probably want to
develop against the same image you use in production.


On Mon, Nov 25, 2013 at 9:24 AM, Konstantin Ignatyev
Post by Konstantin Ignatyev
It is not that hard to create own machine image, just start with one
barebone, then install necessary pieces and run few commands to create AMI
and store it in your very own S3.
http://docs.aws.amazon.com/AWSToolkitVS/latest/UserGuide/tkv-create-ami-from-instance.html
Post by Piotr Wyrwinski
Hi.
I’m trying to work thru stuff before asking stupid questions. But I’m
also in a rush.
What servlet engine do people use on AWS? I created a CentOS instance on
EC2. The tutorial(s), seemingly recent and up to date, show Tomcat 6.
Tomcat 6? Is that the default?
I’ve been developing locally with Jetty 8. Of course, I want to use the
same engine all around.
Are there servlet engines I shouldn’t use (yet)? I have the impression
that AWS “officially” supports a subset. For monitoring? Because it was
validated?
You can anticipate my upcoming questions… How do people build a deploy
from github = AWS. Which AWS plugin (Eclipse, IntelliJ) do people prefer,
if any.
Thanks for humoring me.
Cheers, Jason
------------------------------------
Yahoo Groups Links
--
Konstantin Ignatyev
PS: If this is a typical day on planet Earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate between
forty to one hundred species, erode seventy-one million tons of topsoil,
add 2,700 tons of CFCs to the stratosphere, and increase their population
by 263,000
Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a
Strategy for Reforming Universities and Public Schools. New York: State
University of New York Press, 1997: (4) (5) (p.206)
Jason Osgood
2013-11-25 18:11:38 UTC
Permalink
Hi Piotr.


Thanks for the drop wizard tip, will investigate.

I too much prefer to do things manually, first. Then automate. Starting with automation, putting the cart before the horse, makes troubleshooting harder when something goes wrong (*maven*, cough, ahem).

I’m using AWS because of I can lean on friends who know AWS.


Hi Konstantin.

Is there a reason to NOT use Jetty 9? I’ve read blurb saying “AWS now officially supports Tomcat 7”. I don’t know what the entails.


Thanks, Jason



------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/seajug/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/seajug/join
(Yahoo! ID required)

<*> To change settings via email:
seajug-digest-***@public.gmane.org
seajug-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
seajug-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/
Konstantin Ignatyev
2013-11-25 18:54:50 UTC
Permalink
"AWS now officially supports Tomcat 7” sounds like BS for me without much
context. To me it sounds like: "<Vendor Name> latest Intel i7 computer now
officially supports Tomcat 7"

@devdanke If that build image is evolving and supported by somebody then I
could see reasons to use it, but last time I checked those images were
static, no security updates applied etc.
Post by Jason Osgood
Hi Piotr.
Thanks for the drop wizard tip, will investigate.
I too much prefer to do things manually, first. Then automate. Starting
with automation, putting the cart before the horse, makes troubleshooting
harder when something goes wrong (*maven*, cough, ahem).
I’m using AWS because of I can lean on friends who know AWS.
Hi Konstantin.
Is there a reason to NOT use Jetty 9? I’ve read blurb saying “AWS now
officially supports Tomcat 7”. I don’t know what the entails.
Thanks, Jason
------------------------------------
Yahoo Groups Links
--
Konstantin Ignatyev

PS: If this is a typical day on planet Earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate between
forty to one hundred species, erode seventy-one million tons of topsoil,
add 2,700 tons of CFCs to the stratosphere, and increase their population
by 263,000

Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a
Strategy for Reforming Universities and Public Schools. New York: State
University of New York Press, 1997: (4) (5) (p.206)
Eric Jain
2013-11-25 18:53:27 UTC
Permalink
Post by Jason Osgood
I’m trying to work thru stuff before asking stupid questions. But I’m also in a rush.
What servlet engine do people use on AWS? I created a CentOS instance on EC2. The tutorial(s), seemingly recent and up to date, show Tomcat 6. Tomcat 6? Is that the default?
I’ve been developing locally with Jetty 8. Of course, I want to use the same engine all around.
Are there servlet engines I shouldn’t use (yet)? I have the impression that AWS “officially” supports a subset. For monitoring? Because it was validated?
You can anticipate my upcoming questions… How do people build a deploy from github = AWS. Which AWS plugin (Eclipse, IntelliJ) do people prefer, if any.
I'd use Heroku or even Google App Engine if possible--deployment
doesn't get any simpler than that.

Otherwise I use AWS OpsWorks. You can either specify a war file and
have OpsWorks take care of the rest, or you can provide Chef recipes
to create your own setup (e.g. for applications that can be run
standalone, or because you care about using a specific servlet engine
or configuration).

Haven't bothered with an AWS plugin, I just use the AWS Web Console.
Am I missing out on something?

I'm currently using CloudBees' hosted Jenkins for the build, but it's
ridiculously slow. Looking at moving to CircleCI, which is fast and
good-looking, but under-documented ("trust us, we'll do the right
thing").
--
Eric Jain
zenobase.com -- What do you want to track today?


------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/seajug/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/seajug/join
(Yahoo! ID required)

<*> To change settings via email:
seajug-digest-***@public.gmane.org
seajug-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
seajug-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/
Loading...