-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: add doc for using the instance hw spec flags
this also updates the command help o/p in the existing docs so that it includes the `--cpus`, `--memory`, `--arch` and `--nested-virt` flags
- Loading branch information
1 parent
38a3710
commit b9f1dc9
Showing
8 changed files
with
100 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Instance Selection based on hardware specification | ||
|
||
## Overview | ||
|
||
With `mapt` users can select the type of instance to create on the cloud provider by providing its specification, i.e CPUs count, CPU architecture, Memory size | ||
and support for nested virtualization. | ||
|
||
There are flags `--cpus`, `--memory`, `--arch` and `--nested-virt` for most of the `mapt <provider> <profile | os> create` with exception of `mac` and `windows` OS for AWS | ||
and `aks` profile for Azure. | ||
|
||
The flags also have sensible default values, if an instance type satisfying the requested hardware specs is not offered by the provider, it'll use the default | ||
values to create a machine. | ||
|
||
## Creating a fedora VM on AWS with user provided specs | ||
|
||
As an example we can use the `--cpus`, `--arch` and `--memory` flags with the `mapt aws fedora create` command to create an arm machine with 8 cpus and 64GB of RAM: | ||
``` | ||
$ mapt aws fedora create --spot \ | ||
--arch arm64 \ | ||
--cpus 8 --memory 64 \ | ||
--project-name aws-mapt-fedora-test \ | ||
--backed-url file:///home/mapt/workspace \ | ||
--conn-details-output /tmp/fedora | ||
``` |