Posts

Using a lifecycle hook, acquire the same Private Static IP that is always attached to an EC2 instance in an Auto scaling group.

Image
 A primary private IPv4 address for the instance is assigned when you launch an EC2 instance. An instance is assigned a primary private IP address from the subnet's IPv4 address range. When an instance is stopped and started, or hibernated and started, a private IPv4 address is associated with the network interface. When the instance is terminated, the private IP address is released, and a new instance is assigned a new private IP address. What if your use case necessitates keeping a certain Private IP address for an EC2 instance after it has been released on termination? For example, a certain static private IP 10.8.16.34/32 must be associated to an EC2 instance at all times, regardless of termination. One alternative is to utilise an Elastic IP address, however because EIP assigns a public IP address, it won't work if you're constructing infrastructure in a company where the public cloud platform is heavily limited and controlled, such as a bank, because of its Internet r...

Why should every Software Developer learn a little about AWS?

Image
 You: Hold on a second!! Do you mean Amazon Web Services (AWS) or any other cloud? Me: For two reasons, I say AWS (Amazon Web Services). One, AWS has paved the path and continues to do so in terms of services, features, and other factors. Second, I am more familiar with AWS than I am with Azure or Google Cloud Platform. If you want to, you can read it as "Public Cloud." A Cloud Rush is sweeping the digital world. According to Gartner's newest data, more than 45 percent of IT investment will shift from traditional to cloud models. The exodus is so obvious that "Cloud is the Future" is no longer an option. The Present has already arrived. AWS continues to rule the roost, with an astounding market share of 33%. Learning AWS makes more sense from a professional standpoint now that things are so obvious. But, beyond the financial and professional benefits, what opportunities does it provide? Let's have a look. System Design and Robust Architectures are important ...

How to Move Files from One AWS S3 Bucket to Another

Image
 AWS S3 is an acronym for Amazon Web Services' Simple Storage Service, which is one of the most popular AWS services. Amazon S3 was first announced in 2006, and it has since become a popular platform for object-based storage. In S3, data is saved as objects in buckets, which provide storage space for up to 5 terabytes per item. It's a low-cost storage service that's built to last 99.999999999 percent of the time. S3 also allows you to manage data across many websites, mobile apps, backup and restore big data analytics, and a variety of other applications.If you use S3 to store your data, you may have run into a situation where you need to copy files between two distinct AWS S3 buckets inside the same account, or you may need to do so in the future. In this post, I'll teach you how to copy files from one S3 bucket to another without writing any scripts or writing any code. The good news is that everything will be controlled from the console. So, without further ado, let...

Some AWS S3 Concepts

Image
 S3 is an all-encompassing article storage administration built on top of Amazon's cloud framework. In this post, you will learn about the Core S3 Concepts that you should be familiar with. S3 is one of the most well-known AWS administrations. The programme, which was first distributed in 2006, has since been updated with a slew of new and useful features, but the core concepts have stayed mostly same. What exactly is Amazon S3? S3 stands for Simple Capacity Administration, and it is AWS's general item stockpiling administration. It makes use of the massive AWS framework in every way possible. I like to think of S3 as being similar to Dropbox or Google Drive in that it can be used to store any sort of document (inside some sensible size limits). Although, like these other items, it is geared at programming-related endeavours, there is nothing stopping you from using it to document your own photo gallery if you so desire. After all, we're talking about Amazon Web Services (A...

User Authentication in MongoDB with Google Sign-In (Tutorial)

Image
   MongoDB has Quickly become my nonrelational database platform of choice for its high performance, broad developer support, and generous free tier. As is the case with many database engines, user management, and access control can get quite complex, especially when the software stack draws on other resources, like microservices or cloud storage. Fortunately, we can leverage so-called “federated identity providers” like Google, Facebook, and Amazon to decouple user authentication from the rest of the application. In this tutorial, we’ll walk through all the steps necessary to build a secure MongoDB-powered application from scratch. Users will need to sign in with their Google account to read from the database. We must first set up our cloud-based authentication flow, which includes coordination between Google Identity, AWS IAM, and, of course, our MongoDB cluster before we can write a single line of code. Creating a Google Apps Account The first step is to create a Google acc...