So its after business hours and you are not quite sure whether you want to “Stop” or “Terminate” your EC2
instance. Whats the difference ?
“Stop”ping an EC2 instance:
“Stop”ping an ec2 instance differs from “Terminate”ing an EC2 instance since you cannot restart a terminated instance. Because Amazon S3-backed AMIs can’t be stopped, they’re either running or terminated. You can stop an Amazon EBS backed instance, but not an s3-backed instance.
When the instance is stopped, you’re not charged for any instance hours, only the storage volume. Each time you transition an instance from stopped to started, Amazon charges a full instance hour, even if transitions happen multiple times within a single hour.
If you were using an “elastic IP address” with the instance, the address is automatically concealed when the instance stops. While the instance is stopped, you’re charged for the address being unmapped ( unless you remap it to another instance ).
“Terminate”ing an EC2 instance:
On the other hand, when an instance is terminated, any storage is deleted.
By default, any volumes that were created when the instance launched( the root device and any others specified in the block device mapping) are automatically deleted when the instance terminates.
However, any volumes that you attached after the instance was running are not deleted. If you detach and then re-attach a volume that was created at instance launch, it’s treated like a new volume that you attached after the launch, it will persist after instance termination and you will continue being charged for it unless you terminate it.
How Kerala’s IT Sector Braces To Fight COVID-19?
In India and around the world, the impact of the coronavirus pandemic is evident across all sectors of the economy. With COVID-19 spreading rapidly around the world, the pandemic has not only affected the lives of hundreds of thousands of people but also demonstrated a growing impact on the global economy. From companies chalking out […]
How a DevOps Approach Helps To Meet Deadlines Every Time ?
Missing a deadline never feels good! Despite designing perfect workflows from start to finish, we often found our teams chasing deadlines until the very last moment. This upsetting trend led us to a quest to find out what obstacles prevented our teams from getting work over the finish line in time. The biggest factors contributing […]
Can You Fuel The Next Wave of Business Growth During a Pandemic?
Pandemics and economic recessions are known to create disruptive effects on global economies and businesses. For e.g, the Black Death was a devastating bubonic plague that arrived in Europe during 1347. The catastrophe resulted in the collapse of the feudal system in Europe while replacing it with a more modern employment contract. Covid-19 pandemic has […]