Bobcares

How to use an Amazon S3 bucket as an AWS DMS target

by | Aug 5, 2021

Wondering how to use an Amazon S3 bucket as an AWS DMS target? We can help you!

Here at Bobcares, we often receive similar requests from our AWS customers as a part of our AWS Support Services.

Today let see the steps followed by our Support Techs to use an S3 bucket as the target endpoint.

Amazon S3 bucket as AWS DMS target

AWS DMS uses Database Migration Task to migrate the data from the source to the target destination.

We can use an S3 bucket as an AWS DMS target endpoint.

Steps to use an S3 bucket as a target

 

1. Creating an Amazon S3 bucket

 

  1. Login to AWS Management Console and then open the S3 console.

2. Then create an S3 bucket by specifying the name.

3. After creating the bucket, select the bucket.

4. Select Create folder.

5. Then enter the folder name and click on the save option.

2. Creating an IAM policy

 

  1. To create an IAM policy, firstly open the IAM console.

2. Then select Policies from the left side in the IAM console.

3. Select Create policy, and then select JSON.

4. Then add an IAM policy similar to the following example:

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::nameofbucket*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::nameofbucket*"
]
}
]
}

Replace the ‘nameofbucket’ with the correct bucket name.

5. After updating the policy, then choose Review policy and enter a Name and Description.

6. Then select Create policy.

3. Creating an IAM role

 

  1. From the IAM console, select Roles.Then select Create role >> DMS >> Next: Permissions.

2. Then, search for the newly created policy name and select it, then select Next: tags.

3. Select Next: Review.

4. Then enter the Role name and the description.

5. Click on Create Role.

6. Copy the Role ARN.

4. Creating the target Endpoint

 

  1. Log in to the AWS console and then open AWS DMS console.

2. Then select Endpoints option under Resourse management.

3. Select Create endpoint, and then select Target endpoint.

4. Then eneter the Endpoint identifier.

5. And then choose S3 as the Target engine.

6. Paste the Role ARN in the field of Service Access Role ARN.

7. Then provide the Bucket name and the Bucket folder.

8. We can add our extra connection attributes under the Endpoint-specific settings.

9. To test endpoint connection, select VPC and Replication instance and then select Run test under the section Test endpoint connection. This is also optional.

10. Finally select Create endpoint.

[Need assistance with more AWS queries? We can help you]

Conclusion

To conclude, today we saw the steps followed by our Support Techs to use an Amazon S3 bucket as an AWS DMS target endpoint.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF