Launch Your First Pod
Last updated
Last updated
First we’ll show you how to launch your first pod with a single container and interact with it. Let’s start with a simple busybox image.
A note on pod size With Pi, a pod receives a certain amount computational resources (CPU, RAM). The size of a pod is automatically calculated based on the pod spec, and applied to the pod when it is started. The default size for a pod is
S4
as you can. You can see what the various sizes mean on the pricing page .
Before we look at alpine itself, let’s take a look at how you can inspect your pod.
It shows you information about your pod, most of which is outside the scope of this section. You can see sh_hyper_instancetype
however, which is useful for in case you cannot remember which size you started your pods as.
We can use pi exec
to run commands inside our pod. Let's login the busybo!
One of the key benefits of Pi is reducing your operations costs. To make sure that you’re not being billing for any resources that you’re not using, you should know how to clean up all resources once you are finished with them.
In Pi, all resources are billed per-second (apart from Service). The billing for the example above would break down as follows.
S4 size pod: $0.000009/second, ~$7.76/month (with automatic sustained discount)
10GB rootfs on s4 pod: $0.0000000386/GB/second, $1/month
So the total monthly price for running a pod at s4 size is $8.76. You can always check your current usage costs in the .
Note on pricing Remember that Hyper allows you to choose the size of your pod at start time so the billing information above applies to this example only. Check the pricing page for more information:
That's it for part 1. In we'll learn about how network works in Pi.