Book Image

Practical AWS Networking

By : Mitesh Soni
Book Image

Practical AWS Networking

By: Mitesh Soni

Overview of this book

Amazon Web Services (AWS) dominates the public cloud market by a huge margin and continues to be the first choice for many organizations. Networking has been an area of focus for all the leading cloud service providers. AWS has a suite of network-related products which help in performing network related task on AWS. This book initially covers the basics of networking in AWS. Then we use AWS VPC to create an isolated virtual cloud for performing network-related tasks. We then provide an overview of AWS Direct Connect after taking a deep dive into scalability and load balancing using the auto scaling feature, Elastic Load Balancing, and Amazon Route S3. Toward the end of the book, we cover troubleshooting tips and security best practices for your network. By the end of this book, you will have hands-on experience of working with network tasks on AWS.
Table of Contents (15 chapters)
Title Page
Dedication

Unable to connect to Tomcat server

If you are using Tomcat as a web server for application deployment, you must be able to access Tomcat from the instance that was created in the VPC:

  • Problem Statement: You created an instance, installed the Tomcat web server, and copied the WAR file into the webapps directory of the Tomcat installation. By default, Tomcat works on port 8080. Try to access Tomcat using the public DNS and the 8080 port. You can't access it:

The solution to the preceding problem statement is as follows:

  1. Edit inbound rules in the security groups associated with the instance that was created in the VPC and then add a rule for port 8080 from the specific source, or from anywhere, based on your requirements:
  1. Try to access Tomcat using the public DNS and port 8080:

Now, you will be able to access Tomcat if it is running.

...