-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2246 from dolthub/gitbook-dev
Publish new DoltLab Getting Started and other chnages
- Loading branch information
Showing
40 changed files
with
437 additions
and
99 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
Binary file added
BIN
+75.3 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-actions-on-match.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+355 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-compute-engine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+478 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-create-instance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+180 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-create-project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+54 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-default-boot-disk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+291 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-firewall-rule.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+217 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-fresh-doltlab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+238 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-machine-configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+51.3 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-proper-boot-disk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.1 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-proper-firewall-rules.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+64.1 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-protocols-and-ports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+184 KB
packages/doltlab/content/.gitbook/assets/doltlab-gcp-running-instance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.58 KB
...ages/doltlab/content/.gitbook/assets/doltlab_azure_create_port_rule_inbound.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+123 KB
...doltlab/content/.gitbook/assets/doltlab_azure_create_virtual_machine_step_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+115 KB
...doltlab/content/.gitbook/assets/doltlab_azure_create_virtual_machine_step_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+110 KB
...doltlab/content/.gitbook/assets/doltlab_azure_create_virtual_machine_step_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.5 KB
...doltlab/content/.gitbook/assets/doltlab_azure_create_virtual_machine_step_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+115 KB
...doltlab/content/.gitbook/assets/doltlab_azure_create_virtual_machine_step_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+89.5 KB
...doltlab/content/.gitbook/assets/doltlab_azure_create_virtual_machine_step_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+102 KB
...doltlab/content/.gitbook/assets/doltlab_azure_create_virtual_machine_step_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.3 KB
packages/doltlab/content/.gitbook/assets/doltlab_azure_download_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.5 KB
packages/doltlab/content/.gitbook/assets/doltlab_azure_feature_image.png
Oops, something went wrong.
Binary file added
BIN
+52.4 KB
packages/doltlab/content/.gitbook/assets/doltlab_azure_http_port_rule.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+115 KB
packages/doltlab/content/.gitbook/assets/doltlab_azure_network_settings.png
Oops, something went wrong.
Binary file added
BIN
+110 KB
packages/doltlab/content/.gitbook/assets/doltlab_azure_port_rules_summary.png
Oops, something went wrong.
Binary file added
BIN
+32.2 KB
packages/doltlab/content/.gitbook/assets/doltlab_azure_select_virtual_machines.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+224 KB
...ges/doltlab/content/.gitbook/assets/doltlab_azure_virtual_machine_dashboard.png
Oops, something went wrong.
Binary file added
BIN
+91.7 KB
...es/doltlab/content/.gitbook/assets/doltlab_azure_virtual_machines_dashboard.png
Oops, something went wrong.
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
84 changes: 84 additions & 0 deletions
84
packages/doltlab/content/introduction/getting-started/aws.md
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,84 @@ | ||
# Get a Ubuntu EC2 Instance | ||
|
||
To get your DoltLab ready host on AWS: | ||
|
||
1. Go to [AWS EC2 console](https://console.aws.amazon.com/ec2/) and click "Launch instance". | ||
|
||
2. Select a Ubuntu 22.04 amd64 t2.xlarge instance. | ||
|
||
![](../../.gitbook/assets/getting-started/doltlab-aws-ec2-instance-type.png) | ||
|
||
3. Create a new RSA key pair for your instance in `.pem` format. | ||
|
||
![](../../.gitbook/assets/getting-started/create-new-key-pair.png) | ||
|
||
This will create a `.pem` file and download it locally. | ||
|
||
3. Edit network settings and from the "Auto-assign public IP" drop-down menu choose "Enable". | ||
|
||
![](../../.gitbook/assets/getting-started/doltlab-aws-ec2-pub-ip.png) | ||
|
||
4. Add security group rules for ports 22 (SSH), 80 (HTTP), 443 (HTTPS), 100 (CUSTOM), 4321 (CUSTOM), 50051 (CUSTOM) that allow ingress from anywhere. Specifics [here](https://docs.doltlab.com/introduction/installation#networking-requirements). You also may need to create a new VPC and Subnet here. Just use the defaults. | ||
|
||
![](../../.gitbook/assets/getting-started/doltlab-aws-ec2-security-rules.png) | ||
|
||
5. Add 300GB gp3 disk. | ||
|
||
![](../../.gitbook/assets/getting-started/doltlab-aws-ec2-storage.png) | ||
|
||
6. Click "Launch instance". | ||
|
||
![](../../.gitbook/assets/getting-started/doltlab-aws-ec2-launch-summary.png) | ||
|
||
After this you should get a public IP for your new host. Mine was `54.191.163.60`. | ||
|
||
# SSH to your New Host | ||
|
||
Now I need to SSH to this host. I copy the `.pem` file I created when I launched the instance to my `.ssh` folder, give it appropriate permissions and then I can ssh to my new host. | ||
|
||
```sh | ||
$ cp ~/Downloads/doltlab.pem ~/.ssh | ||
$ chmod 600 .ssh/doltlab.pem | ||
$ ssh -i ~/.ssh/doltlab.pem [email protected] | ||
Enter passphrase for key '/Users/timsehn/.ssh/y': | ||
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-1014-aws x86_64) | ||
|
||
* Documentation: https://help.ubuntu.com | ||
* Management: https://landscape.canonical.com | ||
* Support: https://ubuntu.com/pro | ||
|
||
System information as of Thu Apr 25 17:17:23 UTC 2024 | ||
|
||
System load: 0.0185546875 Processes: 124 | ||
Usage of /: 0.5% of 339.02GB Users logged in: 0 | ||
Memory usage: 1% IPv4 address for eth0: 10.2.0.124 | ||
Swap usage: 0% | ||
|
||
Expanded Security Maintenance for Applications is not enabled. | ||
|
||
0 updates can be applied immediately. | ||
|
||
Enable ESM Apps to receive additional future security updates. | ||
See https://ubuntu.com/esm or run: sudo pro status | ||
|
||
|
||
The list of available updates is more than a week old. | ||
To check for new updates run: sudo apt update | ||
|
||
|
||
The programs included with the Ubuntu system are free software; | ||
the exact distribution terms for each program are described in the | ||
individual files in /usr/share/doc/*/copyright. | ||
|
||
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by | ||
applicable law. | ||
|
||
To run a command as administrator (user "root"), use "sudo <command>". | ||
See "man sudo_root" for details. | ||
|
||
ubuntu@ip-10-2-0-124:~$ | ||
``` | ||
I'm in! | ||
Now that you have a DoltLab ready host, [continue the Getting Started guide](./getting-started.md#download-doltlab-and-its-dependencies) |
Oops, something went wrong.