EMAIL SUPPORT
dclessons@dclessons.comLOCATION
USLAB: Configure Auto Scaling in GCP
Task:
- Create GCP Instance Template that specifies the configuration for your VM Instances
- Configure Instance Group that specifies rules and metrics based on which auto scaling can be done.
- Check the running instance
Solution:
Task 1: Create A Firewall Rule
Login to GCP Console | Click on VPC Network | Click on Firewall
Click on Create a Firewall Rule
Provide Name: dclessons-http-allow | Logs: off| Network: default, priority 1000 | Direction of traffic: ingress| Action: Allow | targets: All Instances in the network | Source IPv4 ranges: 0.0.0.0/0
Protocols & Ports: Select Specified protocols and Ports | TCP: port 80 | Click Create
Task 2: Configure an Instance Template:
Select a Compute engine from main menu | Click instance template | Create Instance Template
Under a Create an Instance Template | Name: dclessons-instance-template-1 | Machine Configuration: General Purpose: Series: N1, Machine Type: n1-standard-1
Under Identity & API Access | Service Account: Select No Service Account | Under Advance Option | Select Management

LEAVE A COMMENT
Please login here to comment.