June 2018
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

June 2018
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Nginx load balancing and configuration

Nginx load balancing and configuration

1 Load Balancing Overview The origin of load balancing is that when a server has a large amount of traffic per unit time, the server will be under great pressure. When it exceeds its own capacity, the server will crash. To avoid crashing the server. The user has a better […]

Solution Architect Associate

1. Messaging 2. Desktop and App Streaming 3. Security and Identity 4. Management Tools 5. Storage 6. Databases 7. Networking & Content Delivery 8. Compute 9. AWS Global Infrastructure 10. Migration 11. Analytics 12. Application services 13. Developer Tools 1. Messaging: SNS – Simple Notification Service (Text, Email, Http) SQS – Simple queue Service […]

Amazon Web Services (AWS)

Amazon Web Services (AWS) Extensive set of cloud services available via the Internet On-demand, virtually endless, elastic resources Pay-per-use with no up-front costs (with optional commitment) Self-serviced and programmable

 

 

 

Elastic Compute Cloud (EC2) One of the core services of AWS Virtual machines (or instances) as a service Dozens of instance types […]

EC2 instance

chmod 400 SeniorServer.pem Server: ssh -i “SeniorServer.pem” ec2-user@ec2-54-149-37-172.us-west-2.compute.amazonaws.com password for root:qwe123456 server2: ssh -i “senior_design_victor.pem” ec2-user@ec2-54-69-160-179.us-west-2.compute.amazonaws.com controller: ssh -i “zheng.pem” ec2-user@ec2-52-34-59-51.us-west-2.compute.amazonaws.com DB: mysql -h seniordesign.c9btkcvedeon.us-west-2.rds.amazonaws.com -P 3306 -u root -p username: root password: qwe123456 use command “screen” to keep running server codes and controller codes on AWS screen #create a new screen session screen -ls […]

Redis install

Install ——- http://download.redis.io/redis-stable.tar.gz

$ wget http://download.redis.io/redis-stable.tar.gz $ tar xvzf redis-stable.tar.gz $ cd redis-stable $ make $ make test # optional ————– # yum install wget tcl # wget http://download.redis.io/releases/redis-3.2.5.tar.gz # tar xzf redis-3.2.5.tar.gz # cd redis-3.2.5 # make # make test ————– $ sudo make install OR $ sudo cp src/redis-server /usr/local/bin/ $ sudo cp […]

s3 aws instance

creating a bucket: ——————- S3 > Create bucket > unique name + region > create bucket > select > upload > upload file or drag n drop

Backup Files to Amazon S3 using the AWS CLI ——————————————— Step 1: create login for aws console: IAM > Users > Create > username: AWS_Admin > Permissions > […]

EC2 instance aws

Launch a Linux Virtual Machine =============================== Step 1: Launch an Amazon EC2 Instance EC2 console > launch instance Step 2: Configure your Instance a. Amazon Linux AMI b. t2.micro > default options c. review and launch d. create new key pair > “MyKeyPair” > Download key pair Windows users: We recommend saving your key pair […]

AWS Notes 2

Limits: ====== VPCs per region: 5 Subnets per VPC: 200 IGW per region: 5 VGW per region: 5 CGW per region: 50 VPN connections per region: 50 Route tables per VPC: 200 (including main route table) Entries per route table: 50 EIP per region for each account: 5 Security groups per VPC: 100 Rules per […]

AWS – Amazon Web Service – Concepts

AWS : Amazon Web Services is a Cloud Service Provider, AKA – Infrastructure as a Service (IaaS). – Storage, Computing Power, Databases, Networking, Analytics, Developer Tools, Virtualization, Security.

Major Terminology/Reason/Advantages: #################################### – High Availibility – Fault Tolerance – Scalability (automatically grow Dynamically) – Elasticity (automatically srink Dtynamically)

– Instance (Server)

Services: ########

VPCs: Virtual Private […]

aws cli part -1

1. Create a VPC

aws ec2 create-vpc –cidr-block 10.0.0.0/16

2. Create a VPC with dedicated tenancy

aws ec2 create-vpc –cidr-block 10.0.0.0/16 –instance-tenancy dedicated

3. Create a VPC with an IPv6 CIDR block

aws ec2 create-vpc –cidr-block 10.16.0.0/16 –amazon-provided-ipv6-cidr-block >> /root/awscreateVPC.json

4. Create a subnet within the VPC

aws ec2 create-subnet –vpc-id vpc-b774aace –cidr-block 10.16.1.0/24 >> […]