This is my eighth #DaysOfArm article that tracks some of the experiences that I’ve had so far. And just to recap from the first post (here) on June 12 2021.
It’s been just over 2 weeks since the launch of Ampere Arm deployed in Oracle Cloud Infrastructure (OCI). Check this article out to learn more (here). And it’s been about one week since I started looking into the new architecture and deployment, since I started provisioning the VM.Standard.A1.Flex Compute Shape on OCI and since I started migrating a specific application that has many different variations to it to test it all out.
This is my next learning which I focus on efficiently getting docker up and running.
Much of what I’ve been doing has docker as a base. And that is good because there are typically many manual steps that are avoided by going down this path especially in the early days of getting infrastructure up and going.
As soon as you’ve installed an Oracle Linux 7.9 image on Arm, then these are the specific commands that I ran to get docker up and going.
sudo useradd giscience sudo yum update sudo yum remove python36-pyyaml sudo yum install git docker-cli docker-engine python3-devel.aarch64 sudo service docker start sudo python3 -m pip install --upgrade pip sudo usermod -a -G docker giscience sudo su - giscience python3 -m pip install --user docker-compose
There are likely to be better ways to run
pip or preserver the package management with things like
virtualenv. It’s functional and can always be better.
Also, note that the
useradd command is specific to my scenario where I’m deploying openrouteservice (here) which is an opensource route service.
If you want to try this out yourself or work on your own application, sign-up (here) for the free Oracle Cloud Trial. I’d be interested to hear your experiences and learn from others as well. Leave a comment or contact me at email@example.com if you want to collaborate.
There’s plenty of work to make this more achievable for everyone. And hence sharing this knowledge is the reason why I’m writing this series – #XDaysOfArm. I’ll keep documenting as long as I keep learning.