Wednesday, 18 May 2022

SYSTEM ADMINISTRATION I Unit-8 GNU/LINUX OS Installation

 


Linux Basic Commands


Monday, 25 April 2022

AWS SECURITY GROUPS

 SECURITY GROUPS:

A security group acts as a virtual firewall that controls the traffic for one

or more instances.

When you launch an instance, you associate one or more security groups

with the instance.

You add rules to each security group that allow traffic to or from its

associated instances.

You can modify the rules for a security group at any time; the new rules

are automatically applied to all instances that are associated with the

security group.




Click on Security groups section under NETWORK & SECURITY from

the left pane.



Click on security group and select your instance 

Choose edit inbound rules to edit the security group.



Select specific rule which is required, I selected HTTP to open 80 port on the security group.

You can either select Custom TCP rule or Custom UDP rule and specify the port which you want to open.

Or you can specify TCP or UDP and specify a range of IP addresses (20-100).




Then select source IP address from by selecting Source drop down list either Custom IP, Anywhere or My IP then click create.


Then click on Save Rules.

The same will applies to Outbound as well, where we can restrict either by Port or by IP address.


CHANGING OR ADDING SECURITY GROUPS TO YOUR EXISTING INSTANCES:



Click the instance from Instance tab and select the instance, then click on Actions.

Click on Security and select  Change security Groups



By Clicking on ADD SECURITY GROUP , You can change the security group 




Click on save option to change and save your security group.


AWS Changing Instance-Types

 Amazon EC2 provides a wide selection of instance types optimized to fit different

use cases. Instance types comprise varying combinations of CPU, memory,

storage, and networking capacity and give you the flexibility to choose the

appropriate mix of resources for your applications. Each instance type includes one

or more instance sizes, allowing you to scale your resources to the requirements of

your target workload.


We have few types of the instances available, those categorized in to the following.

 General Purpose

 Compute Optimized

 Memory Optimized

 Accelerated Computing

 Storage Optimized


You can check the full list of the instance types from the below URL.

Website: https://aws.amazon.com/ec2/instance-types/


CHANGING INSTANCE TYPES

We can change instance types from one type to another with few clicks, but there

is down time involved here because we must shut down the instance to change

instance type.

To change the instance type, select your instance and go to actions then instance

state then stop.



Once the instance has stopped, make sure you select the instance and go to Actions

tab, expand Instance Settings, then choose Change Instance Type.



Next, Change instance type wizard will open, choose the new instance type from

instance type drop down list.



Next, choose apply.






Now, you can able to see the new instance for the instance under the instance type
tab







Now you can start the instance and it will start with the new m4.large CPU and
RAM configuration.


Sunday, 24 April 2022

AWS CONNECTING TO INSTANCES

  • SELECT THE INSTANCE AND CLICK ON CONNECT BUTTON TO LAUNCH THE INSTANCE




  • AFTER CONNECTING THE INSTANCE CLICK ON SSH CLIENT 
  • AND COPY THE HIGHLIGHTED EC2 USER


  • PASTE THE HIGHLIGHTED EC2 USER IN HOSTNAME BOX


  • SELECT SSH IN CATEGORY 
  • AND SELECT AUTH TO PUT THE PPK FILE IN PUTTY


  • AFTER DROPPING YOUR SELECTED  PPK FILE IN BROWSE MENU
  •  CLICK OPEN IN PUTTY  AND THEN THE INTANCE WILL LAUNCH IN NEW WINDOW.

  • SELECT ACCEPT
  • EC2 INSTANCE WILL LAUNCH SOON...





AWS CREATING KEYPAIR

 ONCE YOU LOGGED IN SELECT YOUR REGION TOP RIGHT SIDE DROP DOWN MENU AS SHOWN BELOW :-

SELECT REGION :



THEN CLICK ON EC2 MENU :-



CLICK ON LAUNCH INSTANCES TO CREATE INSTANCE



  • ENTER THE NAME OF YOUR INSTANCE
  • SELECT AN ISO IMAGE  WHICH IS FREE TIER ELIGIBLE...




  • CREATE A NEW KEY PAIR
  • ENTER THE NAME MANUALLY
  • AND SELECT (.ppk) TO GENERATE .PPK FILE  AND IT WILL BE DOWNLOADED AUTOMATICALLY
  • CLICK ON LAUNCH INSTANCE




AWS SIGN UP PAGE

                                             AWS SIGN UP STEP BY STEP PROCESS :


OPEN BELOW URL AND SIGN UP OR LOGIN YOUR AWS ACCOUNT

https://aws.amazon.com/console/





                                    CLICK ON CREATE A NEW AWS ACCOUNT 





       VERIFY THE EMAIL ADDRESS 








    
  • AFTER VERIFYING THE EMAIL ADDRESS 
  • ENTER THE VERIFICATION CODE MANUALLY





ENTER THE ROOT PASSWORD AND CLICK ON CREATE ACCOUNT.....


YOU WILL BE PRESENTED WTIH BELOW SCREEN ......



ENTER THE PHONE NUMBER TO VERIFY  YOUR  AWS ACCOUNT






CLICK CONTINUE TO MOVE ON TO THE NEXT STEP ...




  • ENTER THE CARD DETAILS AND CLICK OK
  • AND NEXT YOUR AWS ACCOUNT WILL BE CREATED AND YOU CAN LOGIN USING YOUR MAIL ID AND PASSWORD
  • AFTER 24HRS YOU MAY USE ALL THE FEATURES OF AWS............