End-to-end instrumentation of a sample application deployed in an EC2 instance
In this section, we will deploy a Java application in an EC2 instance and see the steps necessary to have everything up and running. We usually use the Python language for sample code, but the X-Ray Java SDK, at the time of writing, provides a complete set of features, as we saw in the previous sections.
This section is hands-on, so log in to your AWS account and be prepared for the ride. AWS will charge you for the resources deployed in this section, but for short periods, this is not something that will break the bank. When you finish, remember to clean up the used resources.
This hands-on exercise is spread over three steps:
- Understanding the application and deploying the applicatio.
- Testing the sample application to generate X-Ray trace.
- Exploring the sample application by logging into the EC2 instance
Preparing the environment
Follow these steps to prepare the environment...