TASK 12
As the Cloud Administrator, you have been tasked to update the Atlas App cloud template in the Atlas project. Perform the following tasks:
1. Edit the existing cloud template Atlas App. such that it is a multi-tier application that meets the following requirements:
* 2 Web servers
* 1 Database server
* The Database server is always built before the Web servers
* 2 NSX Networks:
o The first network should use the NAT feature
* Resource Name: external
* Second network should be an existing network
* Resource Name: internal o All networks should be restricted to use only the Atlas project networks
o The internal network should be restricted to use only the nsx-atlas-existing NSX network
* Both the web and db VMs should be connected to the internal network
2. Add an NSX load balancer to provide access from the outside to the two Web servers:
* Resource Name: IbWeb
* Port: 443
* Protocol: HTTPS
3. Assign an existing Security Group to the Web servers:
* Resource Name: sgWeb
* Instances: Web Sewers
* Constraint Tag Key: sg
* Constraint Tag Value: atlasweb
To update the Atlas App cloud template to meet the specified requirements, you would perform the following steps in vRealize Automation:
Task 1: Edit the Cloud Template for Multi-tier Application
Access the vRealize Automation console and navigate to Design > Cloud Templates.
Open the existing cloud template named ''Atlas App''.
Modify the template to include:
2 Web Server Instances: Define two instances of the web server component.
1 Database Server Instance: Define a single instance of the database server component.
Build Order: Ensure the database server is set to be built before the web servers by adjusting the dependsOn property.
2 NSX Networks:
External Network (NAT): Create a network resource with the name external and configure it to use NAT.
Internal Network (Existing): Create a network resource with the name internal and link it to the existing nsx-atlas-existing network.
Restrict Networks: Apply constraints to ensure that only networks associated with the Atlas project are used.
Task 2: Add NSX Load Balancer
In the cloud template, add an NSX load balancer resource with the name lbWeb.
Configure the load balancer to distribute traffic to the web servers on port 443 using the HTTPS protocol.
Task 3: Assign Security Group to Web Servers
Define a security group resource with the name sgWeb.
Assign this security group to the web server instances.
Use constraint tags with the key sg and value atlasweb to ensure the security group is applied correctly.
Here is a simplified example of what the YAML configuration might look like:
resources:
dbServer:
type: Cloud.Machine
properties:
...
webServer1:
type: Cloud.Machine
properties:
dependsOn: dbServer
...
webServer2:
type: Cloud.Machine
properties:
dependsOn: dbServer
...
external:
type: Cloud.Network
properties:
networkType: nat
...
internal:
type: Cloud.Network
properties:
networkType: existing
constraints:
- tag: 'nsx-atlas-existing'
...
lbWeb:
type: Cloud.LoadBalancer
properties:
port: 443
protocol: HTTPS
...
sgWeb:
type: Cloud.SecurityGroup
properties:
instances: [webServer1, webServer2]
constraints:
- tag: 'sg:atlasweb'
...
Make sure to adjust the properties and configurations as needed to fit the specific details of your environment and the Atlas project. After updating the cloud template, validate the changes and ensure that the template meets all the requirements before saving.
Kristeen
3 days agoAnglea
16 days agoYaeko
23 days agoDoyle
1 month agoEvette
1 month agoCherry
2 months agoCristal
2 months agoPedro
2 months agoAlbert
2 months agoAlesia
3 months agoDesmond
3 months agoErick
3 months agoElvera
3 months agoErnie
4 months agoGeorgeanna
4 months agoTamekia
4 months agoVannessa
4 months agoFannie
5 months agoLettie
5 months agoSamira
5 months agoMerilyn
5 months agoGeorgiann
6 months agoSharan
6 months agoSimona
6 months agoJesusita
6 months agoLynelle
8 months agoCasandra
8 months agoBettina
9 months agoDean
9 months agoYan
9 months agoSimona
10 months agoJarvis
10 months agoMarguerita
10 months agoDusti
11 months agoKelvin
11 months agoDarrel
11 months agoKirk
12 months agoNoble
12 months agoLisbeth
1 year agoAudry
1 year agoCurtis
1 year agoHyman
1 year agoGlenna
1 year agoLakeesha
1 year agoDerrick
1 year agoPaz
1 year agoCarman
1 year agoRegenia
1 year agoGregg
1 year agoValentin
1 year agoZona
1 year agoTheodora
1 year agoKarima
1 year agoBrittni
1 year agoMalinda
1 year agoJovita
1 year agoSkye
1 year agoArlen
1 year agoPhung
1 year agoRemedios
1 year agoStephanie
1 year agoOnita
1 year agoCasandra
1 year agoLisbeth
1 year agoStephen
2 years agoBuddy
2 years agoRosio
2 years agoEleonore
2 years agoTori
2 years agoCandida
2 years agoTruman
2 years agoDanica
2 years agoStefany
2 years agoGiuseppe
2 years agoOzell
2 years agoLili
2 years ago