In the last post we setup a simple CDK project that resulted in creation of dynamodb table. Let us analyze the code further.
Search This Blog
Showing posts with label aws. Show all posts
Showing posts with label aws. Show all posts
Thursday, 24 June 2021
Monday, 16 November 2020
CDK - Making CloudFormation easier
In the previous post I created my first AWS Resource using AWS CloudFormation. This was done using a JSON file called the CloudFormation template.
Saturday, 14 November 2020
AWS CloudFormation - my first stack
Before I start - CloudFormation is by far one of the weirdest and coolest things to have come out of AWS. It took me some time to grasp it (and am still grasping) but mann its awesome for AWS users.
Tuesday, 7 July 2020
Amazon ECS : My first AWS container - Part 2
In the previous post we created a container image for our code and pushed the image onto ECR. In this post, we will setup an ECS application
Amazon ECS : My first AWS container - Part 1
I had done a post sometime back on Container basics and AWS. Here I will explore ECS - another Container offering from AWS
Sunday, 5 July 2020
Dynamo Db - locks continued
In the last post I used optimistic locking with the Version attribute provided by DynamoDBMapper. Here I am going to look at the pessimistic locking method
Friday, 26 June 2020
Dynamo Db - locks
When I studies Databases in college, we learnt the concept of locks
The idea was to achieve transactional isolation. Or two operations operating on the same record did not have any side effects on the other.
A database lock is used to “lock” some data in a database so that only one database user/session may update that particular data. So, database locks exist to prevent two or more database users from updating the same exact piece of data at the same exact time.
Thursday, 18 June 2020
Dynamo Db - Good To Remember stuff
Post is a collection of interesting pointers on the working of Dynamo Db. I wanted to have them in a single place as a ready reference
Monday, 15 June 2020
Container Deployments - some basic concepts and EKS
I came across AWS's container solutions - EKS. But I realized that to move forward, I actually needed a primer on Containers. The post is a revision on Containerization. I have liberally copied of the Kubernetes Website and from Docker website - as I did my studies from there.
EC2 and security groups
In the previous post we setup an EC2 instance and tried to connect it using SSH:
My host has a public address, the subnet has a gateway that allows connection to internet, so ideally it should have worked. However there is additional setting with EC2 - security groups
ssh -i ~/Desktop/test-burner-pair.pem ec2-54-237-224-254.compute-1.amazonaws.com
ssh: connect to host ec2-54-237-224-254.compute-1.amazonaws.com port 22:
Operation timed out
Sunday, 7 June 2020
EC2 and networking
In the previous post, we setup an EC2 instance. I wanted to play around with the configurations available here.
Saturday, 6 June 2020
AWS EC2 - setting up an instance
Everything that can be written about EC2 has already been written. I however like to make my own short notes and will use this entry as my personal notebook on EC2.
Thursday, 4 June 2020
Athena through API
In the last post, we setup tables and database for our s3 data on Athena and queries it through the AWS console. In this post, I will attempt the same thing through Java SDK
Dynamo Db's API Model
While doing a search for Dynamo Db get Item code, I came across several different code samples (obviously) and also realized a not so obvious thing - there are multiple ways to access Dynamo Db through code.
Tuesday, 2 June 2020
More on DAX
In the previous post we setup a DAX client and tested the GetItem performance. This post will look at other DAX features
AWS Athena
I have been going through use cases where some basic analytics needed to be run on structured logs generated by our system. The way I did it till now, is to spin up an EMR cluster, load my logs on it and execute hive queries.
Sunday, 31 May 2020
DAX - speeding/cheapening up Dynamo Db
Amazon DynamoDb comes with its own cache layer DAX or DynamoDB Accelerator. In this post I am going to play around with this feature.
Tuesday, 26 May 2020
Deploying API Gateway
In the last 2 posts, I have been working on setting up API access to my Dynamo Table through API Gateway. The next step would be to deploy the APIs:
Monday, 25 May 2020
Dynamo Db APIs through API Gateway
In the last post, we setup a GET method for my table through API Gateway. I wanted to go ahead and setup the other methods - DELETE, PUT, POST.
Sunday, 24 May 2020
REST + Dynamo = API Gateway
My use case is very straight forward - I have a table and I want to expose CRUD operations on the table - GET, ADD, DELETE, UPDATE.
Subscribe to:
Comments (Atom)