About the author: A cloud computing network operation and maintenance personnel, sharing the technology and dry goods of network and operation and maintenance every day.
Motto: Keep your head down and hurry on your way, be respectful
Personal homepage: Homepage of Netdou
Table of contents
1.3 reasons to embrace cloud servers
2. Benefits of using cloud services
3. Reasons for recommending cloud services
2. Quick customization of ECS in 1 minute
3. Convenient ECS management in 3 minutes
1. Convenient management, complete control
Method 1: Original data query and expansion
4.5 minutes easy operation and maintenance of ECS
Easy Operation and Maintenance of ECS in 5 Minutes - Key Points Review
written in front
This chapter will learn the basic operation, maintenance and management of cloud servers
learning target:
- How to own a cloud server ECS of your own?
- When some problems arise, how to manage this cloud server well?
- How to ensure that when a cloud server has a problem, it can be prevented in advance?
1+3+5=100
Quick customization of ECS in 1 minute + convenient management of ECS in 3 minutes + easy operation and maintenance of ECS in 5 minutes = 100 possibilities of ECS
1.3 reasons to embrace cloud servers
1. What is a cloud server
A cloud server (Elastic Compute Service, ECS for short) is a computing service with elastically scalable processing capabilities.
2. Benefits of using cloud services
Physical server VS cloud server
Entity server:
- buy server
- Find a data center site
- pull line
- server upgrade
- Hire professional operation and maintenance personnel
- Professional network security equipment
Cloud Server
- Register an account
- One-click activation
- Peace of mind in operation and maintenance
- Cyber Security Automatically Owned
3. Reasons for recommending cloud services
Reason 1:
easy to use
- Visual management
- No complicated operation and maintenance
- Servicing
Reason 2:
Efficient and stable
Reason 3:
The cost is greatly reduced, and no one-time investment is required
- Compared with self-built data centers or consignment operations, there is no need to invest in hardware, physical environment, manpower and other costs when using cloud resources. The unit resource cost is relatively linear, and all resources are accessed on demand and delivered conveniently.
- Resources on the cloud also support multiple payment models to facilitate further cost optimization.
2. Quick customization of ECS in 1 minute
1. Steps to open ECS:
Qualify for use:
Anyone, anywhere, register an account
Verified
Choose configuration according to your needs:
Abundant choices, providing default recommended configuration
Place an order and receive the goods
Place an order in one minute and receive in three minutes
Customization process:
- Log in to the official website: aliyun.com
- Console: user visualized management ECS
ECS concept
- Instance, instance: consists of CPU, memory, operating system, system disk, and data disk (optional)
- Region and availability zone, region & zone: the location of the server , such as a computer room in Beijing. You can back up your assets in multiple computer rooms.
- Disk, disk: used to store data , select the disk capacity according to the storage capacity, and can expand at any time
- Image, image: operating system template , generally there are two types: Windows and Linux
- Consider a private network, VPC: an exclusive area allocated to users on the public cloud to ensure security
- Security group, security group: virtual firewall to isolate unwanted access sources
3. Convenient ECS management in 3 minutes
1. Convenient management, complete control
Remotely log in to the instance—remotely restart the instance—modify the login password—improve performance—expand storage
You can view the ecs management document
2. Expand storage
Method 1: Original data query and expansion
1. Find the corresponding disk on the console, and perform the "capacity protection" operation
2. Find the application instance on the console and perform the "restart" operation
3. Use the remote terminal to log in to ECS, and in the "Server Management", perform the "Extend Volume" operation on the silver disk
Method 2: Add a new disk
1. To purchase a new disk, pay attention to select the same availability zone as the corresponding ECS instance
2. Find the disk on the console, perform the "mount" operation, and mount it to the target ECS
3. Find the ECS instance on the console and perform the "restart" operation
4.5 minutes easy operation and maintenance of ECS
Operation and maintenance requirements 1:
Accidentally deleted data by mistake. Can be restored easily
Operation and maintenance requirements 2:
Real-time monitoring of ECS performance load is too high SMS alarm
Operation and maintenance scenario 1 : Use the ECS snapshot function to restore accidentally deleted data
What is an ECS snapshot? It is a copy of disk data at a certain point in time. Its most common use is to back up data. When some data is deleted by an application or human error, it can be retrieved through a snapshot.
common problem:
·In the process of system maintenance, data is often deleted by mistake.
·If you want to restore the deleted data, you must back up the data in advance, and then retrieve the accidentally deleted data through the backup.
ECS solution:
The snapshot function of ECS can conveniently meet this demand
Steps:
1. View the data disks that can be purchased for ECS instances (console)
2. Write a file on disk (remote terminal)
3. Make a snapshot of the data (console)
4. Simulate miscatch files (remote finalization)
5. Stop the actual supply, take a snapshot of the data points and return oil (console)
6. Restart the instance and verify that the data recovery is successful (remote terminal)
Operation and maintenance scenario 2 : performance monitoring, automatic alarm
common problem:
ECS users need to pay attention to the running status of their own ECS
Traditionally, users need to build server monitoring and alarm systems by themselves
ECS solution :
Alibaba Cloud Monitoring can monitor various performance parameters of ECS in real time
Cloud monitoring does not require any configuration, supports multiple monitoring types, and is completely free
You can view the real-time monitoring status and set the alarm strategy through the console
Easy Operation and Maintenance of ECS in 5 Minutes - Key Points Review
When the wrong data occurs, the snapshot rollback function can be used to restore the wrong data.
You can use the ECS automatic fast-limit policy to make snapshots periodically.
Reasonably configure monitoring indicators + alarm strategies to control the running status of ECS at any time
Summary: Through the console + fortune management, it is easy to select ECS operation and maintenance