Don’t touch AWS resources you haven’t created!

In this blog post we want to share with you a golden rule we have confirmed recently: don’t touch resources created by other services. Or to be more concrete about our today subject: don’t touch S3 buckets that appear in your console, but which have been created by other services. AWS S3 is one of […]

Get notifications when a change occurs to your Beanstalk environment

Elastic Beanstalk gives you the possibility of receiving notifications via email when a change occurs to your environment: new instances added, environment health modified or a different artifact is going to be deployed. As when we talk about security, there is never enough monitoring. 🙂 In order to enable this, the simplest setup is to […]

Sharing Beanstalk applications between different AWS accounts

An essential good practice is to have distinct AWS accounts for testing and running code into production. This approach increases the costs transparency, offers a better security, and decreases the chances to occur a human error on production environments, so apparently anyone should apply it. But a trivial setup lack could stop to use it. […]

Several tips for your Beanstalk service

Creating a Beanstalk environment using the AWS console is a very straightforward mission mainly because the entire flow is very intuitive and steps are clearly listed. But with this approach we must ensure several configuration options are properly set. In this article we’ll list a couple of settings we saw ignored in many situations. Our […]

Configure Tomcat to support a maximum number of requests

It passed a while since we described why it is important to manage the number of connections your embedded Tomcat can handle and in that episode we promised that we’ll describe how to do that for a classical Tomcat container. Actually, this is very easy to realize just by setting the value of maxThreads inside […]

Running an application with different code versions

There are circumstances like deploying a critical code change into production or running an AB test when running the same application with different code versions is a need. Is this possible when your application is running in Elastic Beanstalk? By default, not, but there is a work around that we’ll describe below. The classic way […]

How to customize the embedded Tomcat

We started several time ago a series of posts that show step by step how to build a microservice using Java platform and to run it in AWS Beanstalk. The microservice runs using an embedded version of the Tomcat web server. In this post, we’ll continue with a new topic about how to improve availability […]

Make your “Hello World” service production ready

Starting from the prototype presented in a the previous post, you enhanced it with all the business logic your service requires, you tested it and now it is ready to reach production in order to serve requests. If you have reached that point, you probably wonder what else to do before deploying it. There are […]

Create a basic “Hello World” RESTful service and run it in Elastic Beanstalk

A simple Google search reveals tons of articles trying to explain the concepts, the advantages and the migration process from a monolithic to a distributed architecture based on microservices, so we’ll assume you are already familiar with these aspects and we’ll skip this part. This blog post is focused on how to create a very […]