Posts

Showing posts from January, 2022

AWS Elastic Beanstalk: An Overview

Image
  What exactly is AWS Elastic Beanstalk? AWS Elastic Beanstalk is a cloud management and provisioning service that automates the process of having applications recognised on the Amazon Web Services (AWS) platform. Engineers simply had to migrate their applications to use this service, and Elastic Beanstalk took care of the rest, including limit provisioning, auto-scaling, load balancing, and application health monitoring. It supports web applications written in Java,.NET, PHP, Node.js, Python, Ruby, Go, and Docker on popular workers like Apache, Nginx, Passenger, and IIS, as it was designed to accommodate varied dialects and application situations. Going from an individual machine to the cloud involves no or minimal code changes. AWS Elastic Beanstalk is based on a concept. Before using Elastic Beanstalk for shipping, there are a few things that any designer should know. 1.Application - An Elastic Beanstalk application is a collection of Elastic Beanstalk application versions and c...

AWS Security Tools: 7

Image
 AWS Security gives you a glimpse of your AWS account's security warnings and security posture. From firewalls and endpoint protection to vulnerability and compliance scanners, there are many strong security tools available. AWS Security tools claim that you now have a single location that gathers and organises your security warnings or results from numerous AWS services. The following are the tools: 1-Amazon GuardDuty is a security service provided by Amazon. 2-CloudWatch  3-AWS Shield 4-Inspector Macie Prowler of the AWS 5-ScoutSuite 6-Prowler 7-Macie Amazon GuardDuty is a security service provided by Amazon. This Amazon GuardDuty service identifies threats and is quite easy to set up. Wall watcher is another name for it. Amazon GuardDuty examines your logs across all of your services and accounts to verify that nothing is left vulnerable. Amazon GuardDuty can also track down account breach, instance compromise, and reconnaissance-related actions. Data exfiltration, attempti...

Using Terraform to provision your first nginx instance on AWS

Image
 We'll use provisioners as part of terraform resource generation to deploy an EC2 and run a custom script to install the nginx web server. Terraform v0.13+ must be installed as a prerequisite. Installed and configured AWS CLI version 2+ What are provisioners and what do they do? Provisioners are terraform-based auxiliary components that assist us in configuring resources. Terraform, for example, can launch an EC2 on AWS, but it can't enable us run scripts on it. Provisioners can assist with this. There are two sorts of provisioners:  1:local-exec provisioner and remote-exec provisioner. 2:remote-exec provisioner — allows you to run scripts on a remote machine. Let's get started setting our nginx server with remote-exec provisioners. 1st step: Let's use Terraform to start an EC2. Make a new file with the name main.tf. As shown below, there are two blocks for the provider and resource. Run terraform init terraform apply -auto-approve to complete the process. Step 2: Now w...

Cloud Front custom headers and AWS WAF help secure custom origins.

Image
  As we all know, Amazon CloudFront is an AWS content delivery service that, in addition to its main functionality, includes security capabilities such as field level encryption, TLS, and integration with AWS security services such as IAM and the AWS Web Application Firewall (WAF). Here's where you can learn more about Amazon Cloud Front. The diagram below depicts how CloudFront delivers content to users. It caches material and delivers it to consumers via Edge locations (CloudFront POP) for a better user experience. By directing each user request over the AWS backbone network to the edge location that can best deliver your content, CloudFront speeds up the distribution of your content. More information can be found here. Customers have used Amazon Cloud Front as a content delivery service (static or dynamic) using S3 or custom origin. Despite the fact that the Cloud Front is an AWS-managed service, it is secure by design thanks to AWS's worldwide network security measures. But...

All You Need to Know About Amazon Web Services ECU vs. vCPU

 If you've deployed an application or service to the Amazon Web Service (AWS) cloud, you've almost certainly used an EC2 instance. One of the decisions you had to make before starting a new instance was the instance type to utilise. Choosing an EC2 instance type can be challenging. Within each instance family, AWS splits its instance types into instance families, which range from micro to 32xlarge. The types of instances available vary by area. However, a combination of the following is the primary factor that separates each instance type: Memory Storage capacity and type of storage Network connectivity and performance Compute power or CPU In this post, we will look at computational power. We'll go over the challenges of measuring and comparing compute power in a virtual environment, as well as the different ways AWS has tried to make itThe issue is that comparing instance types based on their specifications might be challenging. When you use a virtual machine, you get a sh...

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...