How to create an ec2 snapshot using Ansible Playbook

0 votes

Hi Team,

I am new to the Ansible playbook. I want to create an ec2 snapshot using Ansible Playbook. How can I do that?

Dec 4, 2020 in Ansible by akhtar
• 38,170 points
91 views

1 answer to this question.

0 votes

Hi@akhtar,

You can create an EC2 snapshot from an existing EBS volume using Ansible Playbook. 

# Simple snapshot of volume using volume_id
- ec2_snapshot:
    volume_id: vol-abcdef12
    description: snapshot of /data from DB123 taken 2013/11/28 12:18:32
answered Dec 4, 2020 by MD
• 95,060 points

Related Questions In Ansible

0 votes
1 answer

How to create an encrypted bucket in AWS using Ansible Playbook?

Hi@akhtar, Sometimes it is required to encrypt the ...READ MORE

answered Dec 4, 2020 in Ansible by MD
• 95,060 points
41 views
0 votes
1 answer

How to create an ECS cluster using Ansible Playbook?

Hi@akhtar, You can create or terminate ECS clusters. ANsible has ...READ MORE

answered Dec 4, 2020 in Ansible by MD
• 95,060 points
94 views
0 votes
1 answer

devops , how to create user using ansible playbook

root doesn't need a password to switch ...READ MORE

answered Jul 16, 2018 in Ansible by Kalgi
• 2,680 points
273 views
0 votes
1 answer

How to create a docker container using Ansible playbook?

Hi@akhtar, You can use the docker_container module in ...READ MORE

answered Aug 7, 2020 in Ansible by MD
• 95,060 points
1,787 views
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,100 points
1,043 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
958 views
0 votes
1 answer

How to launch an EC2 instance using Ansible Playbook?

Hi@akhtar, Ansible has one module named ec2. This ...READ MORE

answered Aug 12, 2020 in Ansible by MD
• 95,060 points
271 views
0 votes
1 answer

How to create an S3 bucket using Ansible Playbook?

Hi@akhtar, Ansible has a module that can create ...READ MORE

answered Dec 4, 2020 in Ansible by MD
• 95,060 points
91 views