Hackathon - Testing the Environment

Hackathon - Testing the Environment

This week, technologists from around the world will be participating in a Hackathon in support of the United Nations' Innovation Day. I wanted to spend some time this weekend understanding accounts and access for when we begin hacking in a few days.

Oracle is one of the primary sponsors for the Hackathon in which we've chosen to compete, so I began by getting an Oracle Cloud account, following the instructions in the O'Reilly publication "Getting Started with Oracle Cloud Free Tier." After this, I set up a compartment named "Hackathon," a group called "Fitch" (for my fellow hackers from Fitch) and a single policy that gave all of the members of "Fitch" the right to launch compute instances in the "Hackathon" compartment.

Next, I use the "Users" feature under "Identity" to grant access to each of my fellow team members. However, there is some complexity... I wanted to do this without attaching to emails, and yet it let me use simple single-word usernames. Surely the single word usernames I chose must've been taken, so - what is going to be the initial login behavior for these users?

This caused me a bit of struggling, but the answer appeared to be two-fold. First, one needs to share a login link that goes to the specific tenant - in this case, that is my overall account. Second, one needs to expand the collapsed "Oracle Cloud Infrastructure Direct Sign-In" section at the bottom of the shown form and use that, rather than the username/password shown immediately on the next form.

No alt text provided for this image

If you give an email for the sub-accounts you're creating, the users will get a direct email that takes them to a login page for the relevant Tenant's login page.

After this, I tried to create my first compute resource under my first sub-account, but it said I needed the ability to manage a cloud network. After a little digging, I was able to figure out that this required the "manage a cloud network" policy being attached to the group with all my users in it. This allowed me to launch the instance, but how to log into it?

I downloaded the private key and noted the private IP of my first new instance, but - no luck. What username should I use, I wondered?

It turns out that you have to use the username "opc". Once you are in, you can change to root with "sudo su -".

No alt text provided for this image

Alright... if we know how to create accounts and create instances - I think we've got what we'll need to get started in a few days!

要查看或添加评论,请登录

Derek Ferguson的更多文章

  • Fixing Mobile Tools when Flutter Doctor complains, V2

    Fixing Mobile Tools when Flutter Doctor complains, V2

    (This is an amendment to a previous article I published. New computer = new understanding of old problems as I go…

  • Notes on Creation of NFTs

    Notes on Creation of NFTs

    I recently created an NFT following the instructions in this excellent tutorial. I had to make some adjustments as I…

  • Setting up for Amplify Mobile Development

    Setting up for Amplify Mobile Development

    This won't be anything elaborate, but I'm working my way through Adrian Leung's excellent "Rapid Application…

  • Hackathon 2021: World Innovation Day

    Hackathon 2021: World Innovation Day

    This year, Hackmakers hosted a global hackathon in support of the UN's sustainable development goals. My employer…

    2 条评论

社区洞察

其他会员也浏览了