Back

The right cloud solution for Appwrite

  • 0
  • Self Hosted
Binyamin
31 Aug, 2023, 22:58

Yes, but when time come it will be easy to move to it Then yes those will suit you the best

TL;DR
The user is asking for guidance on deploying Appwrite on AWS and wants to know the limitations and advantages of hosting on AWS versus using Appwrite cloud. They also mention being bootstrapped and wanting to make a cost-effective decision. Solution: It is recommended to deploy Appwrite on AWS using EC2, which involves deploying Docker on a VM and then installing Appwrite. There are no additional configurations needed, but the number of requests the instance can handle will depend on instance resources and bandwidth. Appwrite cloud is better for convenience as everything is managed for you, including scaling. It is also provider-independent, allowing for easy migration. It
loup
31 Aug, 2023, 23:10

Do u know if in the future we will be able to move our local appwrite instance to appwrite cloud ?

Binyamin
31 Aug, 2023, 23:10

You can do it now

Binyamin
31 Aug, 2023, 23:10

Version 1.4 introduced migrate

Binyamin
31 Aug, 2023, 23:11

Check this

loup
31 Aug, 2023, 23:11

ohh okay my bad but Appwrite CLoud is not in 1.4 right ?

loup
31 Aug, 2023, 23:11

I was thinking it was in 1.3.X

Binyamin
31 Aug, 2023, 23:11

Yes, but it means that in future you'll be able to so

loup
31 Aug, 2023, 23:12

And I guess we cant know the power of a appwrite cloud instance ? If its better or not to go with Hetzner

loup
31 Aug, 2023, 23:13

But anyway Appwrite cloud save a lot of time for me ahah

Binyamin
31 Aug, 2023, 23:16

In the future when Appwrite cloud will be fast as your request meaning it will scale to match your needs up to your budget as it is managed-appwrite service

D5
31 Aug, 2023, 23:21

By next 2-3 weeks they will migrate cloud to 1.4.x

Tanmay Juneja
11 Sep, 2023, 05:12

Hey @Binyamin @D5 @Core !

I might be a little late to follow up on this, but please help me with my query. I currently use Appwrite + AWS Lambda + API Gateway for managing the backend of my applications. I want to completely move Lambda to Appwrite in the near future. (I saw there are some limits of 60 requests/min with Appwrite functions, hence, I thought of ditching it for the moment.)

Could you please guide me with the deployment of Appwrite on AWS? We have some startup credits to use in AWS.

I saw here https://aws.amazon.com/marketplace/pp/prodview-pm7c6fg2uagvc?ref=recommended&m=model_BI_2023-08-01 that it may cost us ~$23.4/mo to run Appwrite on EC2. I have a very basic doubt. What are the limitation of hosting it here? I only want to store data (string format only) in the database for now. Is there a limit on number of requests, speed, or what? Why is Appwrite cloud better for me and not AWS? or vice-versa?

Since we are bootstrapped right now, every penny makes a difference. Hence, I wanted to do a thorough research before going ahead with Appwrite Cloud/AWS hosting.

Thank you so much for your help. I would really appreciate it. ! Cheers!

D5
11 Sep, 2023, 11:40

Not needed to pin core 😅

D5
11 Sep, 2023, 11:41

The request limit is only for each user and when the function is triggered from client side

D5
11 Sep, 2023, 11:42

Ps it's better creating a post for this

D5
11 Sep, 2023, 11:46

To deploy Appwrite in AWS you will need using EC2. That's correct. It's just deploying docker in the VM and then installing Appwrite. If I'm not wrong, no additional configuration is needed to have it working.

The only limits you have is basically the amount of requests your instance can handle. That will depend on your instance resources and bandwidth. There are rate limits like with functions, but as said, they're per user, to prevent someone from abusing your server and using a huge amount of resources (basically DoS protection)

Respect why using cloud, it's easy: you will need to manage in EC2 everything behind it and scale it: the MariaDB database, Redis, containers.... In cloud everything is managed for you including scaling. The main and huge advantage compared to Amazon's similar services is that it's not provider dependant, since you can always easily migrate from cloud to self-hosted every time you want.

You could still use a managed database in AWS and connect it to your Appwrite instance, but it's very expensive and in my opinion it's worthless unless you have a huge database. What's more recommended is to use S3, I think that's more worthy. Appwrite has full compatibility with it so you all the storage files will be saved in S3.

Sincerely, I think it's better using cheaper alternatives to Amazon AWS, some of their services are really expensive. For example, Backblaze (also supported by Appwrite) is cheaper compared to S3

VincentGe
11 Sep, 2023, 18:59

<:KEKW:736600409228967937> This is such a massive and loaded question. If there was *one best solution then there wouldn't be a dozen Cloud platforms. I really do think th discussion is valuable though. Thanks for the insight everyone!

D5
11 Sep, 2023, 22:32

@Tanmay Juneja Also the link you sent seems an unofficial script, I don't recommend it

D5
11 Sep, 2023, 22:32

Didn't saw it before. It's better and cheaper doing it yourself (it's easy too)

D5
11 Sep, 2023, 22:36

Also they're changing you to use Appwrite, and it's free 😬

bradleySchofield
19 Sep, 2023, 08:26

I've seen this and discussed it with the others, We should really take down these unofficial marketplace ones, more for the fact we don't know exactly what is running on them and the configuration script

bradleySchofield
19 Sep, 2023, 08:26

plus while it's a tiny amount they do still make a little money just repackaging Appwrite

Tanmay Juneja
23 Sep, 2023, 14:49

So sorry. I am a bit new to Discord, missed your previous messages on this topic @D5

Tanmay Juneja
23 Sep, 2023, 14:52

Thanks a lot for all your help. The new Cloud version looks really cool. Love it!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more