Skip to content

New ODAA MicroHack (Oracle on Azure Modernization) - #262

Merged
MSFT-LarsFisch (MSFT-LarsFisch) merged 82 commits into
microsoft:mainfrom
cpinotossi:main
Nov 15, 2025
Merged

New ODAA MicroHack (Oracle on Azure Modernization)#262
MSFT-LarsFisch (MSFT-LarsFisch) merged 82 commits into
microsoft:mainfrom
cpinotossi:main

Conversation

@cpinotossi

@cpinotossichristian (cpinotossi) commented Sep 27, 2025

Copy link
Copy Markdown
Contributor

Title: New ODAA MicroHack (Oracle on Azure Modernization)

Overview
This PR introduces a restructured Oracle on Azure (ODAA) MicroHack environment, including automated deployment scripts, refactored challenge documentation, and an onboarding experience.

Key Changes

  • Redefine the MicroHack focus to Oracle on Azure (ODAA) only
  • Remove non-ODAA related challenges and resources
  • Added Terraform automation for ODAA deployment
  • Refactored challenge documentation for clarity and conciseness
  • Added deployment scripts README with usage guidance

@cpinotossi

Copy link
Copy Markdown
ContributorAuthor

Hello maiksandmann , can you please approve the pull request

@maiksandmann

Copy link
Copy Markdown

no comments

@MSFT-LarsFisch

Copy link
Copy Markdown
Collaborator

Hi christian (@cpinotossi) could you please update the comments of this pull request?

@cpinotossichristian (cpinotossi) changed the title New ODAA MHNew ODAA MicroHack (Oracle on Azure Modernization)Oct 2, 2025

@maiksandmannmaiksandmann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was checked in combination with contributor Christian champ :)

@skiddderskiddderOct 16, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty file? Please at least put in a reference where to start or remove it completly...

@skiddderskiddderOct 16, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend adding a "Resources" section for the provided links. Also include a resource about the differences between a private offer and PAYG.

Also, add an "Expected results/outcome" section for this challenge.

@skiddderskiddder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments for individual files. In general:

  • distinguish between challenge and solution
  • explain what the expected outcome in each challenge should be
  • for orientation have a look at existing challenges and how they are structured.
  • explain why it is useful/necessary and/or the use cases behind the challenge

@skiddderskiddderOct 16, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great if we could create a bootstrapper script in the next release, so the setup for multiple teams can run unattended.


```powershell
# Clone with sparse-checkout (recommended)
git clone --depth 1 --filter=blob:none --sparse https://github.com/cpinotossi/msftmh.git

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the --sparse parameter value should probably point to the official microhack repo instead of your personal fork, right?

```bash
# Login to Azure and ACR
az login
az account set --subscription 09808f31-065f-4231-914d-776c2d6bbe34

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this sub-id working for all user environments or can this vary?

```bash
docker run --rm odaamh.azurecr.io/connping:v1.0 \
connping -l 'admin/YourPassword@"(description= (retry_count=20)(retry_delay=3)\
(address=(protocol=tcps)(port=1521)(host=adb.eu-frankfurt-1.oraclecloud.com))\

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the host name need to be changed to reflect the users environment or is this fix?

# login to azure with the tenant id of the app registration
az login --tenant "f71980b2-590a-4de9-90d5-6fbc867da951" --scope "https://cptazure.org/7d22ece1-dd60-4279-a911-4b7b95934f2e/session:scope:connect"
# get access token for the app registration
$token=az account get-access-token --resource 'https://cptazure.org/7d22ece1-dd60-4279-a911-4b7b95934f2e' --query accessToken --output tsv

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following lines seem to be unintended - at least you are overwriting your token and writing twice to the same output-file


~~~yaml
USER="admin"
PASSWORD="Welcome1234#" # Your actual password

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace example password with placeholder

@maiksandmannmaiksandmann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after feedback from skiddder the PR will be approved

@MSFT-LarsFisch
MSFT-LarsFisch (MSFT-LarsFisch) merged commit 4ccbd88 into microsoft:mainNov 15, 2025
1 check passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@cpinotossi@maiksandmann@MSFT-LarsFisch@skiddder@anggerl