Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Static Site with AWS S3 and CloudFront #7721

Open
sbmagar13 opened this issue Nov 12, 2024 · 1 comment
Open

Deploy Static Site with AWS S3 and CloudFront #7721

sbmagar13 opened this issue Nov 12, 2024 · 1 comment

Comments

@sbmagar13
Copy link

What Roadmap is this project for?

DevOps Roadmap

Project Difficulty

Intermediate

Add Project Details

Requires AWS account with necessary permissions

@JawherKl
Copy link
Contributor

Suggested roadmap

The project focuses on setting up an AWS account with the necessary permissions to manage and deploy resources effectively. Through this project, you will gain hands-on experience with IAM (Identity and Access Management) roles, policies, and permission structures within AWS.

Project Objectives

  • Learn IAM Fundamentals: Gain practical knowledge in managing users, roles, and policies to control access to AWS resources.
  • Set Up Permissions: Define specific permissions required for services like EC2, S3, RDS, etc., according to best practices.
  • Secure the Environment: Implement IAM roles and policies to follow the principle of least privilege, enhancing security.

Prerequisites

  • AWS Account: Requires access to an AWS account with the ability to create IAM users and policies.
  • Permissions Setup: Familiarity with setting up roles and policies in AWS.

Suggested Steps

  1. Create IAM Users and Groups: Set up user accounts and groups for different roles within your AWS environment.
  2. Define and Attach Policies: Create custom policies with permissions tailored to specific services and attach them to appropriate IAM users or groups.
  3. Test Access Controls: Verify that users have the correct access levels by testing access to AWS services according to the defined permissions.
  4. Enhance Security (Optional): Implement multi-factor authentication (MFA) for users and audit permissions regularly to maintain a secure environment.

Sample IAM Policy Outline

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeInstances",
        "s3:ListBucket",
        "rds:DescribeDBInstances"
      ],
      "Resource": "*"
    }
  ]
}

This policy grants permissions to list and describe resources in EC2, S3, and RDS. You can modify actions and resources as needed.

Additional Considerations

  • MFA Setup: Encourage or require MFA for IAM users to add an extra layer of security.
  • Audit IAM Permissions: Regularly audit permissions to ensure no excessive privileges are granted.

@sbmagar13 sbmagar13 changed the title Deploy Static Site on AWS S3 and CloudFront Deploy Static Site with AWS S3 and CloudFront Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants