Friday, August 20, 2021
Elastic IP Address : Delete /Disassociate
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario4.html
1st Disassociate Elastic IP Address
then Release Elastic IP Address
if Elastic IP is not bound, its chargeable
User Data :AWS : 80 : WebPort
https://gist.github.com/nktstudios/fcaf50c30f4ce50790876a3fe5dd8ac7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/bash # update the machine yum update -y # install http yum install -y httpd.x86_64 # start the service systemctl start httpd.service # enable service across reboots systemctl enable httpd.service # create the html page to render echo "<h1>Hello World from NKT Studios!</h1>" >/var/www/html/index.html |
AWS Certificate Manager : ACM : Public and Private CA Certificate
https://www.youtube.com/watch?v=bWPTq8z1vFY
https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html
https://gist.github.com/nktstudios/fcaf50c30f4ce50790876a3fe5dd8ac7
https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html
https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html
https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html
https://aws.amazon.com/certificate-manager/faqs/
https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html
Thursday, August 19, 2021
AWS : Cloudwatch : Push EC2 Logs via "Cloudwatch Agent" to Cloudwatch
https://www.youtube.com/watch?v=ZCHwJLqPLj8
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/QuickStartEC2Instance.html
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html
Other Urls
https://cloudacademy.com/blog/centralized-log-management-with-aws-cloudwatch-part-1-of-3/
https://medium.com/tensult/to-send-linux-logs-to-aws-cloudwatch-17b3ea5f4863
https://www.strongdm.com/docs/installation/configure-logging/aws-cloudwatch
Edit /etc/awslogs/awslog.conf
-----------------------------------------------------------------
[/var/log/messages]
datetime_format = %b %d %H:%M:%S
file = /var/log/messages
buffer_duration = 5000
log_stream_name = {instance_id}
initial_position = start_of_file
log_group_name = /var/log/messages
[/ActorLocatorAPI/logs]
datetime_format = %b %d %H:%M:%S
file = /tmp/logs/contoso-actorLocator.log
buffer_duration = 500
log_stream_name = {instance_id}
initial_position = start_of_file
log_group_name = /ActorLocatorAPI/logs
-----------------------------------------------------------------
You can send On Premise M/C as well with "Coudwatch Agent"
sudo yum install -y awslogs
Edit file /etc/awslogs/awscli.conf and change your AWS Region.
Edit file /etc/awslogs/awslogs.conf and verify following lines Here You specify from where to read/What to read and push to Cloudwatch
Azure - Pipeline - Add Approver for Stage
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
https://www.baeldung.com/spring-properties-file-outside-jar https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-featu...
-
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
The decision was made to block such external HTTP repositories by default https://stackoverflow.com/questions/66980047/maven-build-failure-d...