β˜‘οΈ

SPSI AWS configurations

Verification
Tags
Last edited
Last edited time
OwnerRidgeway
Person

Port numbers

There are 2 categories in EC2 instance.

Inbound rules: are the ports from where EC2 accepts requests

Otbound rules: are the ports from where EC2 responds

On clicking on Security under EC2 details, we can find Inbound rules and Outbound rules

Storage

S3 buckets

Search for S3 in search bar

πŸ””Refer here for creating new buckets

πŸ”” Refer here for creating new Iam roles

πŸ“„ Iam roles are used to assign access permissions to users over a particular AWS service

list of s3 buckets

S3Description
report-media-storage-bucketStores all the report, officer and client documents
spsi-database-backup-bucketstores backup of the spsi database
spsi-officer-client-documents-bucketWas supposed to store officer and client documents, but not in use right now. Client and officer docs are stored in report-media-storage-bucket only

Setting up access permissions for the bucket(report-media-storage-bucket)

Click on the bucket name to see its details and select permissions tab.

{
    "Version": "2012-10-17",
    "Id": "Policy1624514578055",
    "Statement": [
        {
            "Sid": "Stmt1624514576003",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:*",
            "Resource": "arn:aws:s3:::report-media-storage-bucket/*"
        }
    ]
}
[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "PUT",
            "POST",
            "HEAD",
            "DELETE",
            "GET"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]