DevOps Learning Notes
2 Followers
In this lecture you are learning Amazon EC2 Basics.
Linux Architecture:
Linux is the system software that can run on Hardware to provide you interface to run applications.

Hardware: Computer hardware includes processor, Ream Memory, Key Board, Monitor, Hard Disk etc... Collectively the integration of these hardware components called System or Server.
Operating System: Operating System is the interface program between users and computer to request certain tasks to be executed and fulfill the request. Operating System has Kernel as main core program to talk to the hardware in machine language.
Kernel: The kernel is the core component of the operating system. Kernel interacts with hardware to handle the tasks like task scheduling and file management, memory management.
The kernel is the main component of a Linux OS and is the core interface between a computer’s hardware and its processes such as memory management, process management, device drivers, system calls etc.
Shell: The shell is the utility interacts with the user. Shell will translate the users’ requests to kernel in kernel understanding language/format. When user type in a command at Linux terminal, the shell interprets the command and calls the program that user want. Operating supports many Shell programs to handle different user requests.
Shell allows the users to communicate with the kernel. It is the interface between kernel and user.
C Shell, Bourne Shell and Korn Shell are most famous shells which are available with most of the Linux variants.
Applications: Applications are small programs that runs on operating system which are using the Shell to interact with the kernel and fulfill certain services to the users. Applications are like FTP, DNS, Apache HTTP, DHCP used to customize or configure the system for certain use cases.
Users: Who actually uses the system for various needs, users can call the Shell Program directly or can run applications and applications can use Shell programs which interprets the requests to Kernel.
Elastic IP: Elastic IP is a static and reserve public IP address that you can assign to EC2 instance network interfaces.
EIP Pricing:
AWS Support:
AWS Support offers a range of plans that provide access to tools and expertise that support the success and operational health of your AWS solutions.
Follow the LINK to know various AWS support plans available to get support from AWS.
LINK: https://aws.amazon.com/premiumsupport/plans/
Service Quota:
Follow the LINK to raise request with AWS to increase the service limit.
LINK: https://us-east-1.console.aws.amazon.com/servicequotas
EC2 Status checks: EC2 instance status checks describes the health of Amazon EC2 instance. Status checks run every minute on your instances and detect the configuration as well as underlying hardware issues.
How to fix System Check failures:
If system check failed then you can stop and start the EC2 Instance to fix the issues... AWS determines that the instance will be booted up in the healthy hardware during the stop and start action.
Below are the possible AWS issues why System checks fails:
How to fix Instance Check failures:
If Instance check failed then you need to fix the issues by checking System or Kernel configuration.
Below are the possible reasons why System checks fails:
EC2 System logs:
EC2 System Logs provides instance booting logs to know if any booting related or kernel related issues.
Follow the below steps to get System Logs
EC2 Console Screenshot:
EC2 Console screenshot to get the console state and capture the screenshot from AWS. Console Screenshot shows the current state of the system from system console. A healthy Instance shows Login Prompt in the console screenshot.
Follow the below steps to get the Console Screenshot.
Pay-as-you-Go