39 points · by nbrempel · 8y ago · 48 comments
This has been out for a few months now. Any experiences with it?
So far it's amazing.
It leverages Apollo for offline/GraphQL capabilities and Apache VTL to bind resources.
It also integrates really nicely with AWS Amplify.
One thing that was a bit of an annoyance was access levels.
You can authenticate with the GraphQL api using a Key, IAM or Cognito JWT
Key is for development only.
IAM does not expose Cognito Groups to VTL
JWT requires an active session.
So we had to create a "fake" account for non-signed in access.
Use case being, a "guest" can read data from the API but only "admins" can write data to the API
AppSync is very different from Firebase but not that different from the other graphql-as-a-service companies.
Why not just take a client side library and an open-source backend, and host it on EC2 or some general purpose computer server hosted anywhere? This way your CLIENTS have a choice too.
If you can install Wordpress why not this?
SAFE network will solve all this soon.
As far as lock in, it’s just like “providing a facade over your database access so you. n change databases. Few people ever change database backends.
Similarly, look to Amazon Cognito for user sign-in / sign-up / etc., AWS Lambda and API Gateway for cloud-based API, and other services for machine-learnign, AI, chatbots, database services, analytics, etc.
AWS AppSync is only for the data access / offline / real-time component.
Is this using AWS IoT?