Can i use Frappe on Amazon AWS

Dear all,

Good afternoon, I am new to Frappe. I want to learn frappe however I do not have any linux system with me. Can I use Virtual Box or Amazon Docker? If yes, can you please share reference link with me so I can learn and use it.

Best,
@iamnarendrasingh

Refer to below link

1 Like

From half an hour above is link is downloading data on my system. Is there any other way to do this?

On my laptop, (AWS EC2 should be faster)

time git clone https://github.com/frappe/frappe_docker
Cloning into 'frappe_docker'...
remote: Enumerating objects: 9704, done.
remote: Counting objects: 100% (296/296), done.
remote: Compressing objects: 100% (169/169), done.
remote: Total 9704 (delta 193), reused 171 (delta 122), pack-reused 9408 (from 1)
Receiving objects: 100% (9704/9704), 9.78 MiB | 6.04 MiB/s, done.
Resolving deltas: 100% (4688/4688), done.
git clone https://github.com/frappe/frappe_docker  0.30s user 0.15s system 18% cpu 2.387 total

took 2.387 seconds for me to clone full repo.

time docker pull frappe/erpnext:version-15
version-15: Pulling from frappe/erpnext
1f7ce2fa46ab: Pull complete 
442c5d63eafd: Pull complete 
c3aa3af0d581: Pull complete 
4bfbe15b3e01: Pull complete 
848d19a36773: Pull complete 
bdff4ec62e34: Pull complete 
e918eb1cb112: Pull complete 
a12c1a2313f8: Pull complete 
62870dfa6a60: Pull complete 
b2bb48e8bd57: Pull complete 
4f4fb700ef54: Pull complete 
Digest: sha256:f08356a8f7228609d6de8cc942843a6333e5e0db3651ce96fad0921bb1f41fb9
Status: Downloaded newer image for frappe/erpnext:version-15
docker.io/frappe/erpnext:version-15
docker pull frappe/erpnext:version-15  0.10s user 0.05s system 0% cpu 1:40.97 total

docker pull took 1 min 41 sec.

โฏ time docker compose -p pwd -f pwd.compose.yaml stop
WARN[0000] /tmp/pwd.compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Stopping 11/0
 โœ” Container pwd-redis-cache-1   Stopped                                                                                                               0.0s 
 โœ” Container pwd-backend-1       Stopped                                                                                                               0.0s 
 โœ” Container pwd-db-1            Stopped                                                                                                               0.0s 
 โœ” Container pwd-queue-long-1    Stopped                                                                                                               0.0s 
 โœ” Container pwd-create-site-1   Stopped                                                                                                               0.0s 
 โœ” Container pwd-redis-queue-1   Stopped                                                                                                               0.0s 
 โœ” Container pwd-configurator-1  Stopped                                                                                                               0.0s 
 โœ” Container pwd-frontend-1      Stopped                                                                                                               0.0s 
 โœ” Container pwd-scheduler-1     Stopped                                                                                                               0.0s 
 โœ” Container pwd-queue-short-1   Stopped                                                                                                               0.0s 
 โœ” Container pwd-websocket-1     Stopped                                                                                                               0.0s 
docker compose -p pwd -f pwd.compose.yaml stop  0.04s user 0.02s system 100% cpu 0.063 total

docker compose up with pwd.yml took 1 sec (image was pulled before)

โฏ time docker logs -f pwd-create-site-1 -f
wait-for-it: waiting 120 seconds for db:3306
wait-for-it: db:3306 is available after 4 seconds
wait-for-it: waiting 120 seconds for redis-cache:6379
wait-for-it: redis-cache:6379 is available after 0 seconds
wait-for-it: waiting 120 seconds for redis-queue:6379
wait-for-it: redis-queue:6379 is available after 0 seconds
sites/common_site_config.json found
--no-mariadb-socket is DEPRECATED; use --mariadb-user-host-login-scope='%' (wildcard) or --mariadb-user-host-login-scope=<myhostscope>, instead. The name of this option was misleading: it had nothing to do with sockets.

Installing frappe...
Updating DocTypes for frappe        : [========================================] 100%
Updating Dashboard for frappe

Installing erpnext...
Updating DocTypes for erpnext       : [========================================] 100%
Updating customizations for Address
Updating customizations for Contact
Updating Dashboard for erpnext
*** Scheduler is disabled ***
Current Site set to frontend
docker logs -f pwd-create-site-1 -f  0.00s user 0.01s system 0% cpu 18.885 total

create site took ~3 min.

Total time to get site up and running was ~5min.

Can you share link from where you are following all the steps to install it?

Container explained frappe_docker/docs/single-compose-setup.md at main ยท frappe/frappe_docker ยท GitHub

The PWD yml is mentioned here: frappe_docker/README.md at main ยท frappe/frappe_docker ยท GitHub

1 Like