Practice: Create A Resource Manager Stack
Practice: Create A Resource Manager Stack
Try this hands-on lab with the Oracle Cloud Free Tier. If you do not have a free
account, click here to get one.
Overview
In this practice, you create resource manager stack.
A Stack represents definitions for a collection of OCI resources within a specific compartment.
With this in mind, we're going to configure a new stack in the compartment of your choice and
name it "HA Load Balanced Simple Web App". As the stack's name suggests, its configuration
files define the load balancing, networking, and compute resources to deploy the target
architecture plus an HTTP server.
Tasks
1. Log into your Oracle Cloud Free Tier Account
2. Terminate any existing compute instances and then continue with this practice.
3. In the OCI Console, navigate to Menu > Developer Services > click Stacks.
4. Click Create Stack.
5. Select My Configuration, choose the .ZIP FILE button, click Browse link and select the
terraform configuration zip file orm-lbass-demo.zip. Click Select.
6. Name: HA Load Balanced Simple Web App
7. Description: Provisions a primary load balancer and a failover load balancer into public
subnets distributing load across two compute instances hosting a simple web app
application
8. Create in Compartment: Select an existing compartment.
1. Terraform Version: Select 0.14.x
2. Click Next.
3. Configure Variables: Configure the variables for the infrastructure resources that this
stack will create when you run the apply job for this execution plan.
Select a Flex Load Balancer with Minimum and Maximum Bandwidth: 10Mbps for
both minimum and maximum bandwidth