Skip to content

Instantly share code, notes, and snippets.

@adityasatrio
Last active April 5, 2023 02:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adityasatrio/98d36ff8c71993257d705f535015beeb to your computer and use it in GitHub Desktop.
Save adityasatrio/98d36ff8c71993257d705f535015beeb to your computer and use it in GitHub Desktop.
GCP cheat sheet instance compute engine type - sorted from lowest resource/cost
- f1-micro: This is a shared-core instance type that provides 0.2 vCPU and 0.6 GB of memory, and is designed for small workloads and development environments.
- g1-small: This is a first-generation instance type that provides a single shared vCPU and 1.7 GB of memory, and is slightly more powerful than f1-micro.
- e2-micro: This is a second-generation shared-core instance type that provides 0.25 vCPU and 1 GB of memory, and is a bit more powerful than g1-small.
- e2-small: This is a second-generation instance type that provides 2 vCPUs and 2 GB of memory, and is optimized for small workloads that require a balance of compute and memory resources.
- e2-medium: This is a second-generation instance type that provides 2 vCPUs and 4 GB of memory, and is a good option for workloads that require more memory than e2-small.
- n1-standard-1: This is a second-generation instance type that provides 1 vCPU and 3.75 GB of memory, and is a good option for general-purpose workloads that require a bit more power than the smaller instance types.
- n1-standard-2: This is a second-generation instance type that provides 2 vCPUs and 7.5 GB of memory, and is a step up from n1-standard-1 in terms of resources.
- n1-standard-4: This is a second-generation instance type that provides 4 vCPUs and 15 GB of memory, and is a good option for workloads that require more resources than n1-standard-2.
- n1-standard-8: This is a second-generation instance type that provides 8 vCPUs and 30 GB of memory, and is a good option for workloads that require even more resources than n1-standard-4.
- n1-standard-16: This is a second-generation instance type that provides 16 vCPUs and 60 GB of memory, and is a powerful option for workloads that require significant compute and memory resources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment