EC2 Auto scaling

0

Hi,

I have spun up a windows server 2022 virtual machine with 16vCPU and 64GB .I would be utilising this server to download a simulator called eve-ng to practice my CCNP Data centre labs running NexUs AND ACI switches simulations .

I understand AMAZON has an auto scaling feature to scale the infrastructure up and down but is there any feature i can utilise to increae and decrease the compute capacity of a single server being used based on the vCPU utilisation ? If yes,how can this be implemented

I was instructed to get windows server with minimum 16 cores and 64GB mem,however,the instance i have spun up runs on a 8 core processor thereore to minimise any workload related issue can i have an autoscaling place on this individual server ?

hammad
질문됨 5달 전210회 조회
2개 답변
2

Within certain constraints you can stop the running instance, change it's type, and start it again. This is the same as in previous answer but without taking the snapshot and creating a completely new instance. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html

profile picture
전문가
Kallu
답변함 5달 전
-1
수락된 답변

You bring up a good questionabout scaling AWS infrastructure to meet changing demands. There are two main approaches here - vertical scaling (scaling up/down an individual instance) and horizontal scaling (adding more instances).

For your single Windows Server 2022 instance, you cannot automatically scale the vCPUs up and down on the fly. With EC2 instances, you would need to shutdown the instance, create an EBS snapshot to save the data, launch a new instance with more vCPUs, and attach the EBS volume. This process allows you to "scale up" that instance, but requires brief downtime.

Auto Scaling allows you to define rules to automatically launch more EC2 instances (horizontal scaling) when certain conditions are met (e.g. CPU utilization).

The key difference is that Auto Scaling and load balancers handle horizontal scaling across servers, while vertical scaling requires stopping, resizing, and restarting a single server. For most workloads, I'd recommend architecting for horizontal scalability to start. But for your use case verticle seems to make sense. Also be aware that you can stop the instance when you are not using it to save your budget.

profile pictureAWS
답변함 5달 전
profile pictureAWS
전문가
검토됨 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠