Principal Architect ( Data & AI) Over 22 yrs. of experience in IT. Global Delivery Models.
Sunday, October 20, 2019
Monday, October 7, 2019
Docker and Windows 10
- https://hub.docker.com/editions/community/docker-ce-desktop-windows
- Click on Get Docket button to download Docker
- Docker for Windows Installer.exe will be downloaded
- Docker Tool box needed for other than windows 10 Professional and Enterprise.
- https://docs.docker.com/toolbox/toolbox_install_windows/
- C:\Program Files\Docker Toolbox
- Docker cli client for running docker engine to create images,containers
- Docker machine so we can run docker commands
- Docker compose to run docker --compose command
- Kitematic --> docker gui
- Docker quick start
- Oracle VM Virtual box
- It creates Desktop icon for Docket Quick Start terminal
- Launch it
- run docker --version
- Docker version 18.03.0-ce, build 0520e24
- Docker cli client for running docker engine to create images,containers
- Docker machine so we can run docker commands
- Docker compose to run docker --compose command
- Kitematic --> docker gui
- Docker quick start
- Oracle VM Virtual box
Coding Tips
1) https://medium.com/swlh/moving-from-java-spring-framework-to-a-reactjs-apis-architecture-dd85787cc616
2) https://dzone.com/articles/binary-searching-in-java-without-recursion
3) https://dzone.com/articles/iteration-vs-recursion-in-java?fromrel=true
4) https://dzone.com/articles/faster-collection-iterators?fromrel=true
5) https://dzone.com/articles/servlet-dispatcher?edition=499292&utm_source=Daily%20Digest&utm_medium=email&utm_campaign=Daily%20Digest%202019-07-15
6) https://dzone.com/articles/how-not-to-get-eaten-by-technology?edition=499292&utm_source=Daily%20Digest&utm_medium=email&utm_campaign=Daily%20Digest%202019-07-15
7)
2) https://dzone.com/articles/binary-searching-in-java-without-recursion
3) https://dzone.com/articles/iteration-vs-recursion-in-java?fromrel=true
4) https://dzone.com/articles/faster-collection-iterators?fromrel=true
5) https://dzone.com/articles/servlet-dispatcher?edition=499292&utm_source=Daily%20Digest&utm_medium=email&utm_campaign=Daily%20Digest%202019-07-15
6) https://dzone.com/articles/how-not-to-get-eaten-by-technology?edition=499292&utm_source=Daily%20Digest&utm_medium=email&utm_campaign=Daily%20Digest%202019-07-15
7)
WAR Remediation Steps
- Apply Jumpstart standards to AWS Account
- Deploy CIS Benchmarks throughout AWS account
- CIS Benchmark Alerts o GuardDuty
- VPC Flow Logs
- CloudTrail
- CloudWatch Logs
- S3 Buckets collecting the logs, etc.
- Resiliency – Utilize Route 53
- Elastic Load Balancer and instances in Multi AZs.
- Monitoring - Compute resources & alerts
- Systems Manager – Patching, Cloud Watch Agent
Security
Current state from 31% to 83% CIS compliant
- SCP policies
- GuardDuty
- Centralize logs
- Config rules
- Security Hub (CIS
compliance)
Identity Access Management
- Clean up unnecessary IAM
users and roles
Logging and Monitoring
- Install SSM Agent in
the front-end instances to easily manage, patch, and run commands to
multiples instances via AWS Systems Manager.
- Installed CloudWatch
agent in the front-end instances and sending the application logs to
Cloudwatch
- Configured CloudWatch Alerts and SNS Topic
- Monitoring the health of the front-end instances
Reliability
- Help to define a plan
for DR (disaster recovery) (RPO and RTO)
- Potentially deploy AWS
Backups to centrally manage and automate backups across AWS services
- Provide a Network
topology diagram
Cost Optimization
- Use Reserved Instances
for baseline workloads and capacity reservation
Use On-Demand Instances for short-term or unpredictable
workloads
AWS - System Manager Setup (Apache LOGS)
Launch EC2 instance as ROOT
Edit the /etc/awslogs/awslogs.conf file and add the following.
Edit the /etc/awslogs/awslogs.conf file and add the following.
- sudo yum update -y
- sudo yum install -y awslogs
- vim /etc/awslogs/awscli.conf
- sudo service awslogs start
- sudo chkconfig awslogs on
vim /etc/awslogs/awslogs.conf
[/var/log/httpd/error_log]
datetime_format = %b %d %H:%M:%S
file = /var/log/httpd/error_log
buffer_duration = 5000
log_stream_name = {instance_id}
initial_position = start_of_file
log_group_name =
/var/log/httpd/error_log
[/var/log/httpd/access_log]
datetime_format = %b %d %H:%M:%S
file = /var/log/httpd/access_log
buffer_duration = 5000
log_stream_name = {instance_id}
initial_position = start_of_file
log_group_name =
/var/log/httpd/access_log
[/var/log/httpd/ssl_access_log]
datetime_format = %b %d %H:%M:%S
file =
/var/log/httpd/ssl_access_log
buffer_duration = 5000
log_stream_name = {instance_id}
initial_position = start_of_file
log_group_name =
/var/log/httpd/ssl_access_log
- Restart the awslogsd
service
service awslogsd restart
Subscribe to:
Posts (Atom)