- play_arrow Overview
- play_arrow Understanding Contrail
-
- play_arrow Installing and Upgrading Contrail
- play_arrow Server Requirements and Supported Platforms
- play_arrow Installing Contrail and Provisioning Roles
- Introduction to Containerized Contrail Modules
- Introduction to Contrail Microservices Architecture
- Downloading Installation Software
- Overview of contrail-ansible-deployer used in Contrail Command for Installing Contrail with Microservices Architecture
- Installing Contrail with OpenStack and Kolla Ansible
- Configuring the Control Node with BGP
- Contrail Global Controller
- Role and Resource-Based Access Control
- play_arrow Installation and Configuration Scenarios
- play_arrow Upgrading Contrail Software
- play_arrow Backup and Restore Contrail Software
- play_arrow Contrail Command
- play_arrow Multicloud Contrail
- play_arrow Using Contrail with Red Hat
- play_arrow Using Contrail with Juju Charms
-
- play_arrow Monitoring and Troubleshooting the Network Using Contrail Analytics
- play_arrow Understanding Contrail Analytics
- play_arrow Configuring Contrail Analytics
- play_arrow Using Contrail Analytics to Monitor and Troubleshoot the Network
- Monitoring the System
- Debugging Processes Using the Contrail Introspect Feature
- Monitor > Infrastructure > Dashboard
- Monitor > Infrastructure > Control Nodes
- Monitor > Infrastructure > Virtual Routers
- Monitor > Infrastructure > Analytics Nodes
- Monitor > Infrastructure > Config Nodes
- Monitor > Networking
- Query > Flows
- Query > Logs
- Example: Debugging Connectivity Using Monitoring for Troubleshooting
-
ON THIS PAGE
Example: Deploying a Multi-Tier Web Application
Multi-Tier Web Application Overview
A common requirement for a cloud tenant is to create a tiered web application in leased cloud space. The tenant enjoys the favorable economics of a private IT infrastructure within a shared services environment. The tenant seeks speedy setup and simplified operations.
The following example shows how to set up a simple tiered web application using Contrail. The example has a web server that a user accesses by means of a public floating IP address. The front-end web server gets the content it serves to customers from information stored in a SQL database server that resides on a back-end network. The web server can communicate directly with the database server without going through any gateways. The public (or client) can only communicate to the web server on the front-end network. The client is not allowed to communicate directly with any other parts of the infrastructure. See Figure 1.

Example: Setting Up Virtual Networks for a Simple Tiered Web Application
This example provides basic steps for setting up a simple multi-tier network application. Basic creation steps are provided, along with links to the full explanation for each of the creation steps. Refer to the links any time you need more information about completing a step.
Verifying the Multi-Tier Web Application
Verify your web setup.
The result will display the Contrail interface with various data populated, verifying that the web server is communicating with the database server in the backend network and retrieving data.
The client machine only has access to the public IP address. Attempts to browse to any of the addresses assigned to the frontend network or to the backend network should fail.
Sample Addressing Scheme for Simple Tiered Web Application
Use the information in Table 1 as a guide for addressing devices in the simple tiered web example.
System Name | Address Allocation |
---|---|
System001 | 10.84.11.100 |
System002 | 10.84.11.101 |
System003 | 10.84.11.102 |
System004 | 10.84.11.103 |
System005 | 10.84.11.104 |
MX80-1 | 10.84.11.253 10.84.45.1 (public connection) |
MX80-2 | 10.84.11.252 10.84.45.2 (public connection) |
EX4200 | 10.84.11.254 10.84.45.254 (public connection) 10.84.63.259 (public connection) |
frontend network | 192.168.1.0/24 |
backend network | 192.168.2.0/24 |
public network (floating address) | 10.84.41.0/24 |
Sample Physical Topology for Simple Tiered Web Application
Figure 4 provides a guideline diagram for the physical topology for the simple tiered web application example.

Sample Physical Topology Addressing
Figure 5 provides a guideline diagram for addressing the physical topology for the simple tiered web application example.
