Category Archives: AWS

How to set up a billing alarm on AWS

The video will show you how to set up a billing alert on AWS. We will do this by setting the alarm in AWS CloudWatch. To begin you will need to:

  1. log into your AWS account.
  2. Next you will need to navigate to the N Virginia region.
  3. Once in the region you can open Cloud watch t
  4. Then Click on billing
  5. Click create alarm
  6. Select metric
  7. Select USD
  8. Enter the value you want, in our case 100 USD
  9. Click create a new topic and enter you email
  10. Be sure to verify your email
  11. Click next
  12. Give your alarm a name and click next
  13. Click create alarm.

A full video tutorial can be seen here:

 

How to Install CentOS 8 on VirtualBox 2020

This CentOS 8 tutorial will show you how to install CentOS 8 on VirtualBox. To begin you will see how to create a Virtual machine on VirtualBox. Next you will see how to download CentOS 8 to windows. Next you will see the CentOS 8 installation process. You will mount the CentOS 8 installation media into VirtualBox. Next you will see the CentOS 8 installation process step by step.7 Finally you will log into CentOS 8 server. This installation of CentOS 8 on VirtualBox take place on windows, in affect showing you how to run CentOS 8 on windows 10. The Install process will be the same if you are running on a physical machine.

How To Setup Amazon Linux On AWS

The Amazon Linux AMI is a supported and maintained Linux image provided by Amazon Web Services for use on Amazon Elastic Compute Cloud (Amazon EC2). It is designed to provide a stable, secure, and high performance execution environment for applications running on Amazon EC2.

Step 1

Log into your AWS account.

Step 2

Click services and then EC2

Step 3

Click launch Instance

Step 4

Select Amazon Linux 2 AMI

Step 5

Select micro

Step 6

Leave the default values in instance details and click next.

Step 7

If required add more storage and click next add tags

Step 8

Click add tag, type Name in the Key field and then type a server name in the Value feed. Click Next Configure Security group

Step 9

Select my IP for source in the next screen

Step 10

Click review and launch and then launch.

A full Video can be seen here:

 

 

 

 

How to enable AWS GuardDuty

Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behaviour to protect your AWS accounts and workloads. You can enable it to enhance the security on your AWS account.

First log into your AWS account, then click services and search for GuardDuty.

 

In the next screen click Get Stated

Next Click enable GuardDuty

 

A video with more information can be found here:

How to set up Red Hat on AWS

This blog post will show you how to set up Red hat on AWS.

A full video of the process can be seen below.

  • First log into your AWS account
  • Click Services and then ec2
  • Click launch instance
  • Search for red hat and select red hat 8
  • Select micro instance (it’s free tier)
  • Click next configure instance details
  • Click Next Add storage
  • Click next add tags
  • Click Add tag
  • In the Key field type Name and then type a name in the value field for example darren’s server
  • Click Next: Configure Security group
  • select my IP and click Review and Launch

  • Click launch
  • Select create a new keypair, give it a name and click download keypair.
  •  To connect to our instance we will need to convert the key we downloaded, to do so we will use putty and puttygen they can be downloaded form here: https://www.putty.org/
  • Open puttygen and click Load
  • Navigate to where you downloaded your key, click all files, click on your key and click open.
  • Now click Save Private key, when prompted click yes you want to save without a passphrase.
  • Now open putty and enter your public IP into the host name or IP address field, then expand SSH on the left had side.
  • Click auth and then browse, navigate to where you saved your key and select it.
  • Now click open
  • Click Yes
  • Enter ec2user as the username and click enter.
  • You will now be logged in

How to Host a Website on Amazon S3

Amazon AWS S3 is a file storage service on Amazon Web Services. You can also host static websites on S3 quite cheaply and easily. This guide will show you how to host a static website on Amazon s3.

Step 1

You will need to create two files on your local machine – you can download them below:

index

error

Step 2

Log into you AWS console go to S3 and click create new bucket. 

Step 3

Give your bucket an unique name and click create.

Step 4

Click the checkbox beside your bucket and then click “Edit Public Access Settings”

Step 5

Leave the defaults as is and click save

Step 6

Type confirm and then click confirm 

Step 7

Click into your bucket and click upload. Upload the index.html and error.html to your bucket.

Step 8

  • Tick the two check boxes 
  • Click Actions
  • Then click make public

Step 9

Click Properties.

Step 10

Then click static Website Hosting

Step 11

Click:

  • Use this bucket to host a website.
  • enter index.html for the index document.
  • enter error.html for the error document.
  • then click save. 

Step 12

Click back on static website hosting

Step 13

Now click your website endpoint – you will be brought to your website. 

A full video tutorial can be found here: 

How to create an Amazon Machine Image

You can create an Amazon Machine Image or AMI for your existing EC2 instance. The AMI will allow you to launch a fresh EC2 instance using the AMI as a template. You can also share the AMI with other AWS accounts.

Step 1

To get started, it is best practise to stop your instance before you start. So right click your instance and click stop

Step 2

When the instance has stopped, right click it again, click image and then create Image

Step 3

Give your Image a name, a description and then click create Image

Step 4

In the screen that appears click the ami ID.



Step 5

You will now see your image creation as pending.

Step 6

Once the ami is marked as available you can then launch it as an EC2 instance.

A full video tutorial can be found here:

How to set up server 2019 on amazon web services

Amazon Web Services (AWS) have recently released Windows server 2019 on to AWS. This tutorial will show you how to set up windows server 2019 on AWS.

Step 1

First log into you aws account and then click Services and then EC2

Step 2

Next Click Launch Instance.

Ste

Step 3

Search for 2019 and then select the Windows Server 2019 Base.

Step 4

Select an instance size that suits your needs and then click next – Note you will be charged for larger instances.

Step 5

Click Next.

Step 6

Click Next again.

Step 7

Click Add Tag

S

Step 8

For Key type Name (make sure to use the a capital N) and for value enter the name you want for your instance. The Click next

Step 9

The click Review and Launch

Step 10 

Click Launch

Step 11

Choose to: Create a new key pair, give you key pair a name and then download the key pair. Then click Launch instances.

Step 12

Click your instance ID

Step 13

Wait till you see an instance State of running

Step 14

Then Right click you EC2 instance and select Get Windows Password

Step 15

Browse to where you downloaded your key and then click decrypt password.

The Copy your password to the clipboard

Step 16

Note your public IP in our case:

Step 17

Open up RDP and login to your instance using the public IP, the password you copied and the username administrator.

You will now be brought to you server 2019 EC2 instance on AWS.

A full video tutorial can be found here:

How to Create a VPC on AWS with public and private subnets

A virtual private cloud (VPC) is an on-demand configurable pool of shared computing resources allocated within a public cloud environment, providing a certain level of isolation between the different organizations (denoted as users hereafter) using the resources. The isolation between one VPC user and all other users of the same cloud (other VPC users as well as other public cloud users) is achieved normally through allocation of a private IP subnet and a virtual communication construct (such as a VLAN or a set of encrypted communication channels) per user

In this tutorial we will show you how to create a VPC in AWS with a public and private subnet.

Step 1

Log into the aws console, click services and then VPC.

Step 2

Next click Elastic Ips on the left hand side


Step 3

Click to allocate new address.

Step 4

Click allocate and then close.

Step 5

Click VPC Dashboad in the upper left to go back to the VPC dashboard.

Step 6

Click launch VPC Wizard

Step 7

Click VPC with Public and Private Subnets and click select.

Step 8

Enter values relevant to you and then click create VPC

After you click create you should see the VPC creating, note, it may take several minutes for the NAT gateway to create.

You should then see a message that states the VPC is created.

A full video tutorial can be seen here:

How To Create a S3 Bucket

This AWS tutorial will show you how to create a S3 bucket on AWS.

“Amazon S3 or Amazon Simple Storage Service is a “simple storage service” offered by Amazon Web Services (AWS) that provides object storage through a web service interface. Simply, Amazon S3 provides a web interface to easily store and retrieve data safely, in any amount, at any time, from anywhere, at a low cost. Amazon S3 uses the same scalable storage infrastructure that Amazon.com uses to run its global e-commerce network.”

Step 1

Log into you AWS account click services and then s3

Step 2

In the screen that appears click create bucket

Step 3

Give your bucket a unique name (It most be unique across all of AWS) then click Create in the lower left.

Step 4

You should now see your bucket, click it to access it.

Step 5

Click upload, to add a file.

Step 6

Click add file & navigate to a file on your machine to upload.

Step 7

Click upload to upload your file.

You should now see your file in your bucket:

 

A full video tutorial can be found here: