Creating an AWS S3 bucket to store files extracted from your loyalty management system is a fundamental step in managing and securing your data. This blog will guide you through the essential processes of setting up an S3 bucket, crafting policies, adding users, and applying these policies using the AWS IAM service.
By the end, you’ll have a clear understanding of how to effectively manage your AWS resources to ensure optimal security and accessibility for your data.
Step 1: Register and Access the AWS Console
First, ensure you have registered for AWS. Once registered, navigate to the AWS console home page.
Step 2: Create an S3 Bucket
1. On the AWS console, search for “S3” – AWS’s scalable cloud storage service.
2. Click on “Create bucket.”
3. Name your bucket as “saasguruBootcamp Bucket.”
4. Keep all other settings as recommended or default.
5. Ensure “Block all public access” is selected.
6. Click “Create bucket.” Your bucket is now ready.
Step 3: Create IAM Policies
1. Go back to the AWS services home page.
2. Search for “IAM” and click on it.
3. In the IAM dashboard, click on “Policies” on the left sidebar.
4. Click “Create policy.”
5. For the service, select “S3.”
6. Under “Actions,” select “PutObject” to allow writing data and “DeleteObject” to allow deleting data.
7. Scroll to “Resources,” choose “Specific,” and then click “Add ARN.”
8. Enter the bucket name “saasguru Bootcamp Bucket” and select “Any object.”
9. Click “Add ARN,” then click “Next.”
10. Name the policy “Salesforce Data Cloud Access Policy.”
11. Provide a description: “Policy for PutObject and DeleteObject in S3 resource.”
12. Click “Create policy.” Your policy is now created.
Also Read: How To Setup Salesforce Org With Data Cloud?
Step 4: Create a User and Attach Policies
1. In the IAM dashboard, click on “Users” on the left menu.
2. Click “Create user.”
3. Name the user “saasguru Bootcamp User 1.”
4. Select “Attach policies directly.”
5. Look for the “Salesforce Data Cloud Access Policy” and select it.
6. Also, select “Amazon S3 Read-Only Access.”
7. Click “Next” and review that you have attached two policies: one for read-only access and one for specific put and delete actions.
8. Click “Create user.” Your user is now created.
Step 5: Generate Access Keys
1. Click on the created user.
2. Click the “Create access key.”
3. Select “Other” as the access key type.
4. Provide a description, e.g., “saasguru AWS Access Keys.”
5. Click the “Create access key.”
6. Make a copy of the access key and secret key for secure storage, as you will need these to connect the Data Cloud to AWS.
Explore our Salesforce Data Cloud series on YouTube for expert guidance and tips on leveraging Salesforce Data Cloud effectively.
Conclusion
By following these steps, you’ve successfully created an AWS S3 bucket, set up necessary policies, added a user, and generated access keys. These actions will enable you to securely manage files extracted from your loyalty management system. Next, Explore – How To Import CRM Data to Data Cloud Using Data Stream?
For those looking to deepen their Salesforce expertise, consider exploring our Data Cloud Consultant Certification Course.
Also, Sign up with saasguru for a free trial to access 24+ Salesforce certification courses, 50+ mock exams, and 50+ hands-on Salesforce labs.
Streamline your learning journey and empower your career with saasguru today!