Posts

Explained: How to Configure a Static Website Using S3 and Cloudfront

Image
    Introduction Websites that employ client-side technologies (such HTML, CSS, and JavaScript) and don't need server-side technologies can be easily and affordably hosted using Amazon Web Services (AWS) (such as PHP and ASP .NET). A static website is one of these types and is frequently used to display content that doesn't change. To host a static website that is safe, quick, and scalable to handle enterprise traffic and prevent data loss, utilise Amazon Simple Storage (S3). Store your website's files on Amazon S3 and use S3 to serve material to our site visitors to do this. You can use Amazon CloudFront to build a content delivery network (CDN) after setting up a static website in S3. In edge locations, or data centres around the world, a CDN makes website content accessible. By lowering latency, edge locations can help your site load faster. This is crucial if your website uses large media files, such as HD images, audio files, or videos. Are you prepared to begin? If yo...

Utilizing Amazon DynamoDB and AWS KMS, a serverless password manager

Image
    The problem is that we can't remember the password every time, so we frequently end up having to reset the password. We frequently run into situations where we have to create a new account for the websites we use. We can store the username and password in a text file, but again, we need secure passwords. In an emergency, this can become too frustrating. Although security is always a concern, we should always carry our passwords with us. We can also use online password managers. Therefore, let's get started on making our own password manager! Okay, before we continue, I'd like to let you know that this entire project will be broken up into several blog pieces, each of which will describe a different aspect of it. I'll be utilising several AWS services and the benefits of the serverless framework. Additionally, I'll demonstrate how to incorporate serverless into CI/CD Pipeline to create an end-to-end real-time application. I'll discuss encryption, AWS KMS, and...

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