Backup of AWS Services in Source and Destination Region Using AWS Backup

bhatnagargargee

GargeeBhatnagar

Posted on January 22, 2023

Backup of AWS Services in Source and Destination Region Using AWS Backup

“ I have to do a backup of aws services as ec2 and s3 in source as well as in destination region. I have checked various ways to do it but it's easy to use aws backup service. Pricing of S3 bucket as per storage size, ec2 server as per instance type with running time and aws backup service as per storage.”

AWS Backup is a fully managed service that makes it easy to centralize and automate data protection across AWS services in the cloud and on premises. It allows you to automate and consolidate backup tasks that were previously performed service by service and removes the need to create custom scripts and manual processes.

In this post, you will get to know how to do backup of aws services in source and destination region using aws backup . Here I have created s3 bucket, ec2 server and aws backup plan with resources.

Prerequisites

You’ll need an Amazon Simple Storage Service for this post. Getting started with Amazon Simple Storage Service provides instructions on how to create a bucket in simple storage service.

You’ll need an Amazon EC2 Server for this post. Getting started with amazon EC2 provides instructions on how to launch an EC2 Server. For this blog, I assume that I have an ec2 server and a s3 bucket created.

Architecture Overview

Image description
The architecture diagram shows the overall deployment architecture with data flow, aws backup, ec2 and s3.

Solution overview

The blog post consist of the following phases:

  1. Create of AWS Backup Plan with Source and Destination Vault
  2. Output as Source Vault and Destination Vault for Backup Storage

I have a s3 bucket and an ec2 server as below →
Image description
Image description

Phase 1: Create of AWS Backup Plan with Source and Destination Vault

  1. Open the AWS Backup console and create a backup plan with source backup vault(N.Virginia) and destination backup vault(Oregon). Once the backup rule is created, assign resources as ec2 and s3 with default roles. Also schedule a backup job run.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Phase 2: Output as Source Vault and Destination Vault for Backup Storage

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Clean-up

Delete S3 Bucket, EC2 Server and AWS Backup Plan.

Pricing

I review the pricing and estimated cost of this example.

Cost of S3 = $0.20

Cost of Elastic Compute Cloud = $0.02

Cost of AWS Backup = $0.00

Total Cost = $0.22

Summary

In this post, I showed “backup of aws services in source and destination region using aws backup”.

For more details on AWS Backup, Checkout Get started AWS Backup, open the AWS Backup console. To learn more, read the AWS Backup documentation.

Thanks for reading!

Connect with me: Linkedin
Image description

💖 💪 🙅 🚩
bhatnagargargee
GargeeBhatnagar

Posted on January 22, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related