Tagged posts aws

Make an S3 bucket public

Marking an S3 bucket as public via the AWS cli
Updated 1 year ago Published 1 year ago
Flagging a bucket with public permissions is a pretty simple affair and there are several ways in which you can achieve this goal.
The easiest of the possible path ways is you apply a policy to your bucket with global read permissions
Here is an example of the policy, This can be applied via the AWS S3 web ui or preferably via the AWS cli.
{
  "Version": "2012-10-17",
  "Statement": {
    "Action": "s3:GetObject",
    "Effect": "Allow",
    "Resource": "arn:aws:s3:::devnotnull-ui-feat-feat-migrate-to-tailwind/*",
    "Principal": "*"
  }
}
And here is an example command to apply the aforementioned policy to a bucket via the AWS cli.

How to create a simple AWS Lamda function with Typescript.

A simple tutorial running over how to deploy a Lambda function along with DynamoDB
Updated 1 year ago Published 4 years ago
Over the course of this tutorial you will be deploying a set of simple todo Lambda function, you will be deploying 3 separate artefacts.
  • Create endpoint
  • Get all todo's endpoint
  • Get by id todo's endpoint

What will we be working with

AWS Lambda is a service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second.
AWS DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It’s a fully managed NoSQL database database with built-in security, backup and restore, and in-memory caching for internet-scale applications.