Wednesday, November 24, 2021

Azure : How to get Client Secret for Azure Vault

https://docs.microsoft.com/en-gb/azure/active-directory/develop/quickstart-register-app#to-add-application-credentials-or-permissions-to-access-web-apis


https://jeanpaul.cloud/2020/06/06/how-to-do-app-registration-for-enterprise-application/

AWS : EC2 Instance Public IP : Could not connect to Internet : Windows EC2 Instance

https://intellipaat.com/community/42232/aws-ec2-instances-are-not-getting-to-internet-access



For Internet Access - 

A VM should be having Public IP address if its in Public Subnet and that Subnet should have Internet Gateway and Internet Gateway should have a route in Routetable

If a VM is in Private Subnet, It should have private IP and should have access to NAT Gateway in RouteTable of that Subnet

JDK Installation

https://adoptopenjdk.net/installation.html

AWS : EC2 Instances Pricing

https://aws.amazon.com/ec2/pricing/on-demand/

AWS : IGW vs NATGW

https://medium.com/awesome-cloud/aws-vpc-difference-between-internet-gateway-and-nat-gateway-c9177e710af6


Internet Gateway (IGW) allows instances with public IPs to access the internet.
NAT Gateway (NGW) allows instances with no public IPs to access the internet.


IGW allows Outside traffic to go in

NAT-GW does not allow Outside traffic to come in, It only allows from inside to Outside


Monday, November 22, 2021

Ansible : Ansible Playbook: Ansible Tower

https://www.youtube.com/watch?v=EcnqJbxBcM0

https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html

Ansible :

  • Configuration Management 
  • YAML Based
  • Push Based Approach
  • Agentless Architecture - No agent on Target VMS - Simple SSH to Target VM
2 Parts on Local Machine/Server
1) Ansible Inventory : Client Manifest - Details of Group/Target Client VMs
2) Ansible Playbook : YAML - Job - Sections in Ansible - Yaml Configurations

The default location for inventory is a file called /etc/ansible/hosts
You can specify a different inventory file at the command line using the -i <path> option.

Michael DeHaan - Author of Ansible

Ansible was acquired by Redhat
Redhat was acquired by IBM

Ansible has a UI Centric version as well - Ansible Tower

Ansible Tower - Restful UI Web based 


Microservices: Spring Boot: Netflix : Components

https://www.optisolbusiness.com/insight/micro-services-architecture-spring-boot-and-netflix-infrastructure



Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass