diff --git a/doc/aws.md b/doc/aws.md
index 8f01c7cb..7398b6f3 100644
--- a/doc/aws.md
+++ b/doc/aws.md
@@ -21,15 +21,15 @@ These instructions assume you have the following setup:
sudo tar -C /usr/local -xzf go1.19.3.linux-amd64.tar.gz
## Step 4: clone and build the server
- mkdir /app
+ sudo mkdir /app
cd /app
- git clone https://github.com/balzack/databag.git
+ sudo git clone https://github.com/balzack/databag.git
cd /app/databag/net/web
- yarn config set network-timeout 300000
- yarn --cwd /app/databag/net/web install
- yarn --cwd /app/databag/net/web build
+ sudo yarn config set network-timeout 300000
+ sudo yarn --cwd /app/databag/net/web install
+ sudo yarn --cwd /app/databag/net/web build
cd /app/databag/net/server
- /usr/local/go/bin/go build databag
+ sudo /usr/local/go/bin/go build databag
## Step 5: setup databag paths
mkdir -p /var/lib/databag/assets