How do I take a snapshot of an EBS volume, terminate the EC2 instance and create a new one that uses...
a
How do I take a snapshot of an EBS volume, terminate the EC2 instance and create a new one that uses the snapshot? I have some infrastructure managed via Pulumi, and sometimes I want to make a change that requires a new EC2 instance, but I want to either reuse the EBS volume or snapshot it and use that. This seems surprisingly hard. What am I missing?