Summary of simple use of Amazon cloud computing AWS


This article mainly talks about some problems and solutions encountered when using Amazon AWS cloud service for the first time. It provides a little experience for friends who plan to use Amazon cloud computing, which can save a little time and avoid detours.

For most companies that want to go overseas, if they need cloud servers, Amazon Cloud AWS will definitely be on the choice list. In terms of market share, service node layout and number of services provided, AWS is the leader in the field of cloud servers. When companies
go overseas, they will definitely consider laws and regulations. From a compliance perspective, Amazon is very professional when going overseas.

From a technical comparison, domestic Alibaba Cloud is not necessarily worse than Amazon, and the user experience of its products is definitely better than Amazon for Chinese people; but Amazon is not bad at all in terms of enterprise services, and even feels like it exceeds expectations; During my communication with Amazon staff, their technicians and salesmen came to serve us twice and established a special service group to provide timely and professional services. This is really better than domestic services. Everything must be in place. If you really choose Amazon Cloud, add the contact information of Amazon staff. Generally, you can get better answers to any questions you have.

Necessary conditions for opening an account

To open a cloud service account in China, you only need to register an account and then perform real-name authentication to open the cloud service; unlike opening a domestic cloud computing account, to open Amazon AWS cloud computing, you need to bind a bank visa credit card.

Differences in name concepts

In terms of some names, there are still many differences between the names of Amazon Cloud Computing AWS and domestic cloud vendors. The names of domestic cloud computing companies are obviously more in line with the understanding of Chinese people. Let’s talk about some of the names that are quite different.

Reserved Instances vs Annual/Monthly Subscription

When purchasing a domestic cloud computing server, many times we may choose the annual and monthly subscription method. However, you cannot find the words "annual and monthly subscription" on the Amazon cloud service. However, friends who have used Amazon cloud computing should also know that it is indeed There is also this payment method, which is the way of reserved instances. According to the explanation of Amazon staff, reserved instances mean that you give a promise to use them according to the selected configuration for one year or a fixed period, and then Amazon will The server will be reserved for one year (selected length of time) according to the configuration you choose.

AMI (image/system)

AMI on aws is our operating system. Some systems on Amazon cloud require additional fees. If you don’t know whether the system you choose is charged, you can ask Amazon staff; generally Linux systems are free, and you can If you can't find it, you can ask Amazon staff for technical support. Amazon staff are very enthusiastic to help.

payment method

You can pay by credit card.
Unlike domestic cloud computing, domestic cloud computing manufacturers generally provide electronic invoices after payment. Amazon, as a foreign-funded enterprise, does not provide invoice services. Therefore, the best way is to use a foreign company to pay. If you must use a domestic company to pay and provide an invoice, you can use a third-party payment method.
bill
Insert image description here
Insert image description here

Subscribe to a service

Purchasing cloud computing instances (pitfalls)

1: Directly activate the on-demand charging model
Activate a pay-as-you-go instance
. After this method is activated, it is a pay-as-you-go method. When you do not need to use it, you need to turn off the service yourself. Our server traffic is relatively stable, so we do not use this method for the official server. , but when we test some services, we use this method to activate them and close them after the test is completed.

2: Annual payment method (reserved instance)
Activate a reserved instance
Reserved instance is the familiar method of paying for a fixed period. Opening a reserved instance requires two steps, which is very different from our domestic purchase method; the specific steps are:
First Step 1: Purchase a reserved instance. After purchasing a reserved instance, the instance will not be automatically activated. You need to perform the second step to activate it. Step 2: Activate
a reserved instance with the same configuration as the reserved instance purchased in the first step. Instance, after completing this step, a reserved instance is started.

The cost of a reserved instance is only the cost of the instance and does not include its network fees and hard disk costs, so these two parts of the cost will still be incurred on the bill.
Screenshot of purchasing a reserved instance

Select image file

System image file
Just choose the appropriate operating system according to your needs.

Actual usage

Instance account problems and solutions

After starting the instance, you can log in to the instance for use. Each instance is started with the default system user. For the default user, the default user name is determined by the AMI (operating system) you specify when starting the instance. The picture below is linux. Some of the default user names of the system
Insert image description here
are centos. After ssh login, some operations may require the use of the root account. After initialization, the root account generally does not have a password. You can use the su root password to switch users directly. However, There are also situations where switching cannot be performed. In this case, you can use the sudo passwd root command to directly set a password for the root account. After setting the password, you can use the password to switch to the root account.

For user-related issues on AWS, you can view the official technical documentation

Hard drive mount

The mounting method of storage hard disk is the same as the ordinary mounting method. If you don’t understand the address, you can check the official guidance document.

Network delay problems and solutions

Because our business involves global services, we have instances in many regions around the world, so there are problems with node deployment in domestic access to other regions, as well as some file transfer problems, etc. Generally, there will be network delay problems. Generally speaking, a VPN can be used to solve part of the delay problem. When we transferred a large file before, the data transfer rate without using a VPN was only more than 100 kb per second. After using a VPN, it can reach M level.

Amazon technical support and services

1: Technical architecture provides support.
My company is a traditional manufacturing company, so it does not have much technology accumulation in the Internet of Things. During the communication with the Amazon Cloud technical team, they will combine it with our business needs. Their technical accumulation also provided us with a set of technical architecture that we could refer to. Based on it, we made corresponding adjustments and optimizations based on our actual situation, and finally achieved the results we needed. The following figure is the technical architecture diagram provided by Amazon:
Amazon technical support architecture diagram
2: Technical staff group service
Amazon's service team can generally establish a separate technical service group with customers. If you have any questions, you can ask them in the group. Generally, technical staff will Help solve the problem and provide corresponding technical support; when our company was doing technical support, we had multiple rounds of technical communication meetings with us, and we also gave the technicians separate telephone technical support, which is really good.


3: In the process of connecting the voucher trial service with Amazon AWS, they provided us with an additional $2,000 voucher, which allows us to test the services we need to use and make some technical attempts; generally speaking, if If necessary, you can communicate with their service staff, and they will also provide corresponding support.

Guess you like

Origin blog.csdn.net/xiaoyukongyi/article/details/128411600