Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute rover from Azure Container Instance #62

Closed
LaurentLesle opened this issue Jul 24, 2020 · 0 comments · Fixed by #60
Closed

Execute rover from Azure Container Instance #62

LaurentLesle opened this issue Jul 24, 2020 · 0 comments · Fixed by #60

Comments

@LaurentLesle
Copy link
Contributor

LaurentLesle commented Jul 24, 2020

To deploy the rover in Azure ACI

# Create the resource group
az group create --name caf-rover1 --location southeastasia

# Deploy the rover in a container instance
az container create --name rover-13-rc1 \
    -g caf-rover1 --image aztfmod/roverdev:vnext-13-rc1 \
    --secure-environment-variables SSH_PASSWD='Change!Password' \
     --dns-name-label rover --ports 22

# Get the ssh endpoint
az container show --resource-group caf-rover1 --name rover-13-rc1 \
    --query "{FQDN:ipAddress.fqdn,ProvisioningState:provisioningState}" --out table

# Login the rover with the fqdn provided on the previous command
ssh vscode@rover.southeastasia.azurecontainer.io

# When on the rover you have access to the rover command to manage your landing zones deployment
[vscode@wk-caas-2da2cc8585684af3b3bc87465c467f09-398bdb3712ad30b73cb4ae ~]$ rover

  /$$$$$$   /$$$$$$  /$$$$$$$$       /$$$$$$$                                        
 /$$__  $$ /$$__  $$| $$_____/      | $$__  $$                                       
| $$  \__/| $$  \ $$| $$            | $$  \ $$  /$$$$$$  /$$    /$$/$$$$$$   /$$$$$$ 
| $$      | $$$$$$$$| $$$$$         | $$$$$$$/ /$$__  $$|  $$  /$$/$$__  $$ /$$__  $$
| $$      | $$__  $$| $$__/         | $$__  $$| $$  \ $$ \  $$/$$/ $$$$$$$$| $$  \__/
| $$    $$| $$  | $$| $$            | $$  \ $$| $$  | $$  \  $$$/| $$_____/| $$      
|  $$$$$$/| $$  | $$| $$            | $$  | $$|  $$$$$$/   \  $/ |  $$$$$$$| $$      
 \______/ |__/  |__/|__/            |__/  |__/ \______/     \_/   \_______/|__/      
                                                                                     
                                                                                                                                                           
              version: aztfmod/roverdev:vnext-13-rc1

[vscode@wk-caas-2da2cc8585684af3b3bc87465c467f09-398bdb3712ad30b73cb4ae ~]$ exit
logout
Connection to rover.southeastasia.azurecontainer.io closed.
@LaurentLesle LaurentLesle linked a pull request Jul 24, 2020 that will close this issue
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant