Featured Post

How to Build CI/CD Pipeline: GitHub to AWS

Image
 Creating a CI/CD pipeline to deploy a project from GitHub to AWS can be done using various AWS services like AWS CodePipeline, AWS CodeBuild, and optionally AWS CodeDeploy or Amazon ECS for application deployment. Below is a high-level guide on how to set up a basic GitHub to AWS pipeline: Prerequisites AWS Account : Ensure access to the AWS account with the necessary permissions. GitHub Repository : Have your application code hosted on GitHub. IAM Roles : Create necessary IAM roles with permissions to interact with AWS services (e.g., CodePipeline, CodeBuild, S3, ECS, etc.). AWS CLI : Install and configure the AWS CLI for easier management of services. Step 1: Create an S3 Bucket for Artifacts AWS CodePipeline requires an S3 bucket to store artifacts (builds, deployments, etc.). Go to the S3 service in the AWS Management Console. Create a new bucket, ensuring it has a unique name. Note the bucket name for later use. Step 2: Set Up AWS CodeBuild CodeBuild will handle the build proces

AWS Block Vs Object Storage Top Differences

In AWS, Block and Object are two types of storage. I have given differences between these two. Why because storage is a prime concept in the cloud environment.

Object Vs Block Storage

Why are these names different? Because these two are different storage types - Object and Block.


Object Storage


  • Object means it is a single object. You are not dividing here.
  • In the context of AWS, object storage helps your file to store as-is. How big it does not matter.
  • Let your file size is 10MB. Then, it saves as a 10 MB file.
  • What happens when you update a 30MB file. It deletes the old object and creates a brand new one.
  • For small changes, you need to update the whole file. So, it utilizes a lot of resources.
  • Object storage is much better for big files and very few changes.
  • AWS manages object storage.
  • AWS has full control over Object storage.


Block Storage


  • Block storage divides your file into blocks.
  • You have selected a block size of 512 bytes. If you want to upload a 10MB file, it then divides the whole file into 20 blocks.
  • When you want to update a single character, it updates only that Block. It will not touch other blocks.
  • You can save network and bandwidth use in Block storage.
  • When the changes are more, and you want to update very often, then Block storage is much better.
  • In Block storage volumes are mountable.
  • AWS has no visibility on blocks inside of Block storage.
  • It has visibility only on Block volumes.

Keep Reading

Comments

Popular posts from this blog

How to Fix datetime Import Error in Python Quickly

How to Check Kafka Available Brokers

SQL Query: 3 Methods for Calculating Cumulative SUM