-
Notifications
You must be signed in to change notification settings - Fork 929
docs: add AWS AMI upgrade instructions #16973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 7 commits
1c3fed8
1b3cea0
b4a11bd
b253f6d
475da27
9779971
169cdf8
9c05640
dd96ccf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,37 @@ | ||
# Upgrade | ||
|
||
This article walks you through how to upgrade your Coder server. | ||
This article describes how to upgrade your Coder server. | ||
|
||
> [!CAUTION] | ||
> Prior to upgrading a production Coder deployment, take a database snapshot since | ||
> Coder does not support rollbacks. | ||
|
||
To upgrade your Coder server, simply reinstall Coder using your original method | ||
## Reinstall Coder to upgrade | ||
|
||
To upgrade your Coder server, reinstall Coder using your original method | ||
of [install](../install). | ||
|
||
## Via install.sh | ||
### Coder install script | ||
|
||
If you installed Coder using the `install.sh` script, re-run the below command | ||
on the host: | ||
1. If you installed Coder using the `install.sh` script, re-run the below command | ||
on the host: | ||
|
||
```shell | ||
curl -L https://coder.com/install.sh | sh | ||
``` | ||
```shell | ||
curl -L https://coder.com/install.sh | sh | ||
``` | ||
|
||
The script will unpack the new `coder` binary version over the one currently | ||
installed. Next, you can restart Coder with the following commands (if running | ||
it as a system service): | ||
1. If you're running Coder as a system service, you can restart it with `systemctl`: | ||
|
||
```shell | ||
systemctl daemon-reload | ||
systemctl restart coder | ||
``` | ||
```shell | ||
systemctl daemon-reload | ||
systemctl restart coder | ||
``` | ||
|
||
### Other methods | ||
|
||
<div class="tabs"> | ||
|
||
## Via docker-compose | ||
### docker-compose | ||
|
||
If you installed using `docker-compose`, run the below command to upgrade the | ||
Coder container: | ||
|
@@ -36,12 +40,30 @@ Coder container: | |
docker-compose pull coder && docker-compose up -d coder | ||
``` | ||
|
||
## Via Kubernetes | ||
### Kubernetes | ||
|
||
See | ||
[Upgrading Coder via Helm](../install/kubernetes.md#upgrading-coder-via-helm). | ||
|
||
## Via Windows | ||
### Coder AMI on AWS | ||
|
||
1. Run the Coder installation script on the host: | ||
|
||
```shell | ||
curl -L https://coder.com/install.sh | sh | ||
``` | ||
|
||
The script will unpack the new `coder` binary version over the one currently | ||
installed. | ||
|
||
1. If you're running Coder as a system service, you can restart it with `systemctl`: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If it's the AWS AMI I believe they will definitely be running as a system service and should carry out this step. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🙌 awesome - thanks! reworded in 9c05640 |
||
|
||
```shell | ||
systemctl daemon-reload | ||
systemctl restart coder | ||
``` | ||
|
||
### Windows | ||
|
||
Download the latest Windows installer or binary from | ||
[GitHub releases](https://github.com/coder/coder/releases/latest), or upgrade | ||
|
@@ -50,3 +72,5 @@ from Winget. | |
```pwsh | ||
winget install Coder.Coder | ||
``` | ||
|
||
</div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this was an accident to add since this is just Markdown. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh interesting! |
Uh oh!
There was an error while loading. Please reload this page.