Skip to content

evanschristophera/Learn-Terraform-with-Azure-by-Building-a-Dev-Environment-Full-Course-for-Beginners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • along with the fact that the tag includes the host name

    docker run -it localhost:5000/my-ubuntu

    works

Currently working on this DONE

Adding a local docker repositoyr

  • netextender connection attempt

netExtender -u user -p password -d 'domain' --always-trust host

History from latest session so I can repeat it.

  1. cat /tmp/diditwork
  2. java --version
  3. cat /tmp/diditwork
  4. nodejs
  5. npm
  6. ls
  7. ps
  8. ps -ef
  9. ps -ef | grep apt
  10. cat /tmp/diditwork
  11. sudo apt-get install openjdk-11-jdk -y && echo "java11" >> /tmp/diditwork
  12. sudo add-apt-repository ppa:openjdk-r/ppa
  13. sudo add-apt-repository ppa:openjdk-r/ppa -y
  14. sudo apt-get install openjdk-11-jdk -y && echo "java11" >> /tmp/diditwork
  15. sudo apt update
  16. java -version
  17. sudo apt-get upgrade
  18. sudo apt-get install openjdk-11-jdk
  19. sudo apt-get install openjdk-11-jdk -y
  20. sudo apt-get update && sudo apt-get upgrade
  21. sudo apt-get install openjdk-17-jdk
  22. sudo apt-get install openjdk-17-jre -y
  23. history

https://minikube.sigs.k8s.io/docs/start/

Install and Set Up kubectl on Linux

For a local docker repository which is necessary for local kubernetes and skaffold setup.

Setup

Also Handy

[This is the Microsoft Azure Government Console Login Link](https://portal.azure.us/ #home) Skaffold older versions

  • Security Group Rule is created in this area
  • Associates security group to subnet
  • Will not have an IP until other resources, I.e. a virtual machine, are provisioned.
  • Have to add public IP address ID. Not in the documentation example.
  • ssh-keygen to create a key pair
  • Used by the Linux vm
  • I actually logged in!!!*
  • Run the commands in a shell first to make sure they are correct
  • Docker is there after terraform apply
  • files were added in this section
  • Lightweight and does not affect overall deployment
  • Last resort
  • Provisioners don't get picked up by state
  • So just replace it
  • Didn't get this to work because windows stinks: terraform state list terraform apply -replace <RESOURCE_FROM_ABOVE>
  • Uses the AZ or AWS API
  • Not in the terraform state

Resources

URL: https://portal.azure.us/#home [email protected]

az cloud set --name AzureUSGovernment sets the cloud environment.

Yielded this:

[
  {cd   
    "cloudName": "AzureUSGovernment",
    "homeTenantId": "3ffbc5ec-b740-451c-ab2d-36a9f55bfa3c",
    "id": "ea7bd72c-c0b0-4a15-9ceb-4474dbd32bd7",
    "isDefault": true,
    "managedByTenants": [],
    "name": "Azure Government Enterprise - RIMFIRE",
    "state": "Enabled",
    "tenantId": "3ffbc5ec-b740-451c-ab2d-36a9f55bfa3c",
    "user": {
      "name": "[email protected]",
      "type": "user"
    }
  }
]

Linux Tidbits

To change java version: sudo update-alternatives --config java

About

Following the youtube vid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published