Only 4th step Create Google Cloud Load balance & Autoscaling

Опубликовано: 09 Ноябрь 2020
на канале: Technical Skills Linux
134
3

Only 4th step Create Google Cloud Load balance & Autoscaling

#Load_balance_gcp
#Autoscaling_gcp

******Please Subscribe to my channel for the next video******

1st ....Create VM Template

2nd .....Create Instance group

3rd ....Create static IPV4

4th ....Create LB:
-create backend
-create frontend

https://cloud.google.com/compute/docs...

vim python-cpu.py
#!/usr/bin/env python
"""
Produces load on all available CPU cores
"""

from multiprocessing import Pool
from multiprocessing import cpu_count

def f(x):
while True:
x*x

if _name_ == '__main__':
processes = cpu_count()
print 'utilizing %d cores\n' % processes
pool = Pool(processes)
pool.map(f, range(processes))


apt install cpulimit

python.py &

top


Thank you for watching my video if my video any help to you please like , comment, and subscribe to my channel for the next video.

Thank you once again...

-like -comment -share -subscribe

***********************Subscribe Please********************