amazon ec2

Home » amazon ec2

Launching an Amazon EC2 Instance using Terraform

2025-07-17T00:33:56+00:00

What's up, Dojos! This is your first step on automating your cloud infrastructure by launching an EC2 Instance using Terraform!  Efforts from various cloud providers such as AWS made managing your configurations manageable and easy by the use of their Management Consoles. With AWS, launching an EC2 instance, setting up IAM configurations, and VPC provisioning have never been easier within their console. But what if you have to configure large amounts of resources? Provisioning your projects are like a walk in the park, but if you’re managing an application or a business that caters to thousands to millions of customers [...]

Launching an Amazon EC2 Instance using Terraform2025-07-17T00:33:56+00:00

Build an AI Opponent for Discord Activities – Intro

2025-05-26T06:50:08+00:00

Have you ever wondered how NPCs and bots in games make decisions? How do they seem to "think" or play strategically—even when there's no human behind the scenes? In this blog series, we’ll take a deep dive into creating your own AI-powered opponent for a turn-based board game—specifically designed to run inside Discord Activities. Our goal is to create an opponent for turn-based board games that makes strategic decisions, learns from its experiences, and offers a compelling challenge for players on Discord. In this blog series, we'll learn how to: Design an AI opponent tailored for turn-based games Integrate your [...]

Build an AI Opponent for Discord Activities – Intro2025-05-26T06:50:08+00:00

Upscaling Amazon EC2 Instance Performance: A Comprehensive Guide to Vertical Scaling for Improved Application Availability

2025-05-08T14:26:47+00:00

It’s a scenario that no website owner wants to face: your website, which has been running smoothly for months, suddenly goes down. Panic sets in as users can’t access your services, and business slows down drastically. In my case, the traffic to my website spiked unexpectedly, and my EC2 instance could no longer handle the load. I realized that the only solution to get my site back up and running was to scale my EC2 instance vertically – but what does that even mean, and how do you do it? In this article, I will share how I tackled the [...]

Upscaling Amazon EC2 Instance Performance: A Comprehensive Guide to Vertical Scaling for Improved Application Availability2025-05-08T14:26:47+00:00

Cloud-9.4: Installing NGINX, PHP, MySQL, and WordPress via Shell Script

2025-04-30T20:05:42+00:00

Hey, this is Step 4 of our 9-step website portfolio building with AWS! Got lost? Click here to go to the main article, and here for the third step! Exciting times ahead as we get closer to completing our website setup! In this article, we’ll guide you through a simple and efficient way to install the essential tools you need: NGINX, PHP, MySQL, and WordPress. All of this will be done using a shell script for an automated setup, saving you time and ensuring a smooth installation. What We’ll Be Installing Using Shell Script: NGINX: A powerful, high-performance web server [...]

Cloud-9.4: Installing NGINX, PHP, MySQL, and WordPress via Shell Script2025-04-30T20:05:42+00:00

Cloud-9.3: Accessing and Configuring Your Amazon EC2 Instance

2025-04-30T20:04:45+00:00

Hey, this is Step 3 of our 9-step website portfolio building with AWS! Got lost? Click here to go to the main article, and here for the second step! Now that your EC2 instance is up and running, you might have noticed something strange, every time you stop and start the instance, the public IP address changes. This means the link to your website will keep changing too, which isn’t ideal if you want people (or even just yourself) to visit your site consistently. The solution? Elastic IP.   What Is an Elastic IP? An Elastic IP is a static [...]

Cloud-9.3: Accessing and Configuring Your Amazon EC2 Instance2025-04-30T20:04:45+00:00

Cloud-9.2: Launching Your Amazon EC2 Instance

2025-04-15T15:32:33+00:00

Hey, this is Step 2 of our 9-step website portfolio building with AWS and WordPress! Got lost? Click here to go to the main article, and here for the first step! Now that you've secured your domain, it's time to bring your website to life! In this step, we’ll launch an Amazon EC2 instance, a cloud-based virtual server that will host your portfolio. History 101: From Physical Servers to the Cloud Before diving into EC2 instances, let me brief you first with a history 101! Before the advent of cloud computing, websites, and applications depended on physical servers. These large, [...]

Cloud-9.2: Launching Your Amazon EC2 Instance2025-04-15T15:32:33+00:00

Pushing Application Logs from Amazon Lightsail to Amazon CloudWatch: A Step-by-Step Guide

2025-03-19T07:29:05+00:00

In my previous article, I mentioned how you can use your application logs hosted on an Amazon Lightsail instance to create a subscription filter in Amazon CloudWatch. But have you ever wondered how to push your application logs from your Lightsail instance to CloudWatch? Unlike in the EC2 instance, which allows you to easily modify the IAM role and attach the CloudWatchAgentServerPolicy, Amazon Lightsail lacks this capability in its default configuration. Pushing application logs to Amazon CloudWatch is invaluable for maintaining a robust monitoring system. It allows you to track application performance, diagnose issues in real-time, and gain deeper insights [...]

Pushing Application Logs from Amazon Lightsail to Amazon CloudWatch: A Step-by-Step Guide2025-03-19T07:29:05+00:00

How to Automate Storage and Memory Space Monitoring in Amazon EC2 with CloudWatch and Slack

2025-03-19T06:45:45+00:00

Managing resources effectively is crucial when operating in the cloud. One important aspect of managing Amazon EC2 instances is monitoring storage and memory usage. Storage space, primarily driven by Amazon Elastic Block Store (EBS), and memory (RAM) are two critical resources that need constant monitoring to avoid performance degradation and optimize costs. Fortunately, with Amazon CloudWatch and Slack, you can automate monitoring these resources and get notified when thresholds are crossed. This blog will guide you through setting up automated monitoring for disk utilization (EBS storage) and memory utilization (RAM) in Amazon EC2 using CloudWatch and Slack. Difference Between Storage [...]

How to Automate Storage and Memory Space Monitoring in Amazon EC2 with CloudWatch and Slack2025-03-19T06:45:45+00:00

Website Down? How to Manually Increase Amazon EBS Volume Size and Get Back Online Fast!

2025-03-10T18:24:14+00:00

It was a regular day, and everything was running smoothly—customers were browsing your website, orders were coming in, and business was booming. The server was handling traffic efficiently, and everything seemed to be operating as expected. But then, disaster struck—your website suddenly crashed. Panic set in as you scrambled to find out what had happened. Was it a DDoS attack? A misconfiguration? A sudden surge in traffic? You immediately logged into the AWS Management Console to investigate. Your EC2 instance was still running, the CPU and memory usage seemed normal, and there were no obvious signs of a system failure. [...]

Website Down? How to Manually Increase Amazon EBS Volume Size and Get Back Online Fast!2025-03-10T18:24:14+00:00

Setting up Slack notifications on Tag Modifications for EC2 Instances

2024-10-31T00:44:52+00:00

Monitoring resource configurations in a dynamic cloud environment is important, especially in production. One essential aspect of managing AWS resources, such as Amazon EC2 instances, is tracking tag modifications. Tags are not just labels but vital in organizing resources, enabling billing allocation, and enforcing compliance policies. Any unintentional tag modification can disrupt operations or mislead resource management, making timely alerts vital. This article will guide you through setting up automated Slack notifications to alert your team whenever a tag modification occurs on production EC2 instances. Using a combination of Amazon EventBridge, AWS Lambda, and Slack API, you can create a [...]

Setting up Slack notifications on Tag Modifications for EC2 Instances2024-10-31T00:44:52+00:00

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Upskill and earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!