AWS Athena analysis log
In AWS, Athena can be used to analyze the logs saved in S3. He can convert the logs into the format of database tables, so that they can be queried through sql statements. This function is similar to using logparser to analyze Exchange or IIS logs on a windows Server.
Let's do a demonstration, record the management log through Cloudtrail, and ...
Posted by stubarny on Wed, 04 Dec 2019 09:10:56 -0800
The development of cnode website by dva
Complete registration logic and personal center page
1 reg component validation logic
The same validation rules as login
import React , { Component }from 'react';
import PropTypes from 'prop-types';
import { connect } from 'dva';
import { Form, Icon, Input, Button, Checkbox,message} from 'antd';
import { routerRedux } from 'dva/router';
const ...
Posted by RyanDev on Sat, 30 Nov 2019 16:58:12 -0800
Notes on the process of web assembly engineering development based on rule
Initialization project
$ npm init rust-webpack web_assembly_demo
npx: 18 Installation successful, time 3.989 second
Rust + WebAssembly + Webpack = ️
Installed dependencies
Install Web dependency
$ yarn
yarn install v1.19.1
warning package.json: No license field
info No lockfile found.
warning package-lock.json found. Your project contains lo ...
Posted by gmiyano on Mon, 25 Nov 2019 10:30:48 -0800
How to gracefully stop the spring boot service
Preface
Often the pronoun for "stop service" is violence, regardless of the consequences, because when a forced stop occurs, it doesn't matter if there are any running threads in it.
It happens that recently, because of the auto scalinng in AWS, unknown friends can interpret it as AWS can automatically expand or shrink our servers, wh ...
Posted by scopley on Sun, 17 Nov 2019 18:35:32 -0800
Powerful JSON.STRINGIFY optional parameters
A very interesting question is brewing in my mind. I'll share it with you so that you can refer to it when you have problems. Let's see what's interesting about JSON.stringify().
const dude = {
name: "Pawel",
friends: ["Dan", "Pedro", "Mr Gregory"]
};
const dudeStringified = JSON.stringify(dude);
console.log(dudeStringified);
// {"name":"P ...
Posted by roby2411 on Mon, 21 Oct 2019 07:36:24 -0700
Service registration and discovery - Eureka (Service Management)
1. About Eureka;
Eureka is a tool produced by Netflix for service registration and discovery. Spring Cloud integrates Eureka and provides out of the box support. Eureka can be subdivided into Eureka Server and Eureka Client.
Eureka is a service discovery framework developed by Netflix. Spring Cloud supports it and integrates it into its own sp ...
Posted by douga on Sat, 19 Oct 2019 12:34:01 -0700
Ribbon [load balancing strategy]
The ribbon has seven load balancing strategies to choose from:
Strategy class
name
describe
RandomRule
Stochastic strategy
Randomly select server
RoundRobinRule
round-robin policy
Select server s in order (ribbon default policy)
RetryRule
Retry strategy
During a configuration period, if the server is not selected successfull ...
Posted by ilovetoast on Fri, 18 Oct 2019 01:44:50 -0700
AWS Lambda automation and PowerShell
I've been watching how to use Lambda and Python for the past two days, but I'm usually more used to using PowerShell to manage various systems. Try using PowerShell in Lambda.
First, you need to install the following three modules on the local computer.
Install PowerShell Corehttps://github.com/powershell/powershell
Install the. Net core softw ...
Posted by matthewc on Tue, 15 Oct 2019 07:43:45 -0700
k8s data storage
How Kubernetes manages storage resources.
First we will learn about Volume and how Kubernetes provides storage for containers in clusters through Volume; then we will practice several commonly used Volume types and understand their respective application scenarios; finally, we will discuss how Kubernetes separates cluster administrators from c ...
Posted by mbeals on Mon, 14 Oct 2019 06:14:07 -0700
Lambda, AWS, and Python Automation Management Operations - Automatically create snapshots, delete snapshots
This section looks at how to manage EC2 snapshots through boto3. In the actual production environment, beans use the solution EBS Snapshot Scheduler provided by AWS, import the stack of Cloudformation directly, automatically configure Lambda function and DynamoDB database, and then we can set it up by label. From a learning point of view, let' ...
Posted by vonnero on Thu, 10 Oct 2019 02:12:24 -0700