Function calculates the transport automation thematic dimension

Foreword

Generally speaking, the automated operation and maintenance There are two types of operation and maintenance methods:

  • Script timed tasks, such as regular replacement of cloud services acess key secret, regularly check ecs Foreign exposed ports
  • Emergency alarm events, such as examples of abnormal restart ecs

In the traditional operation and maintenance, the timing of processing tasks usually implemented with crontab script, but once more the management of the machine, this will definitely have a script for centralized management, this time for the availability of centralized management of machine script, the script which will be scattered plaintext password and other relevant information, and recording timing tasks performed is a big challenge; and for event-driven alarm processing, either through text messages to inform the police operation and maintenance personnel, or require self service to handle alarms, no matter what ways, financial costs and operation and maintenance costs are large. This paper discusses the operation and maintenance of a new way, using the function to calculate the operation and maintenance of automation do, at very low cost you can get a highly reliable, high-quality operation and maintenance services.

Function calculates

Ali cloud function computing is an event-driven serverless computing services. By calculation function, you need to manage infrastructure servers, just write code and upload. Function calculates will be ready for you computing resources to flexible, reliable way to run your code, specific performance:

  • No infrastructure procurement and management servers
  • Pay-on-demand, such as operation and maintenance of the system management and control of these low-frequency calls, financial costs can often save more than 90%
  • Focus on the business logic of development, can greatly improve the efficiency of development, such as ten minutes on linear elastic highly available image processing services
  • Stable and highly available, resilient and elastic milliseconds, rapid expansion of the underlying implementation to respond to peak pressure
  • Provides log, performance monitoring, alarm and other functions quickly troubleshoot

Function calculates met automated operation and maintenance

Function calculates the great freedom to the user to implement custom functions, and custom automation once the meet operation and maintenance, will wipe out different spark. Here paper traditional automated operation and maintenance, and operation and maintenance function calculation done automatically on a comparison of two different types of dimensions:

_

Example timing of scene analysis

Timing Example scenario 1

Some cloud service account acess key secret needs to be replaced regularly to ensure acess key secret security

Timing Example scenario 2

Ecs correspond regularly check their exposure to the port, to ensure safety. For instance, your ecs is a web server, you may only need to expose the external port 80 on the line, if this 0.0.0.0/0 to allow everyone access to the loopholes, alarm or auto repair needs arise.

Automatic operation and maintenance function to calculate the actual 1-- regular tasks

Examples of event-driven scenario analysis

Event-driven example scenario 1

Suppose there are two ECS machines A, B, A machine downtime occurred, the time required to migrate eip on the standby machine A to machine B, can be achieved can be calculated using the automatic migration of eip alarm and monitoring functions of the cloud, the cloud monitoring a downtime event is detected, then the trigger function is executed, the function implementation eip automatic migration.

Automated operation and maintenance function calculates the actual 2 - event triggers automatic transfer eip

Event-driven example scenario 2

System errors and restart before assuming that a ecs occurs, the user may be an emergency get up and do some validation or creation process snapshots, in the following actual combat, we have an automated because the system error instance restart or due examples errors reboot the machine processing, such as creating a snapshot treatment after a successful restart.

Automated operation and maintenance function calculates the actual 3 - event triggered automatically creates a snapshot

to sum up

With automated operation and maintenance function calculation, operation and maintenance of the automated function of visualizing process management, monitoring, operation of the elastic function, high availability, safety, etc. a little; event source driven simultaneously on function, is provided to monitor cloud rich event, and the event is constantly enrich the ( cloud offering system event monitoring ), a wealth of events trigger function custom processing, high availability timer, which can ensure that we can achieve a more perfect automated operation and maintenance.
If 函数计算进行自动化运维the use of a scene of interest, please click on the Bookmark this page, here we will 函数计算进行自动化运维continue to update the content and actual cases of this topic page.

Guess you like

Origin www.cnblogs.com/alisystemsoftware/p/11973926.html