Ions Cleanup Tutorial
Cleanup
If you want to delete your Datomic Cloud system after you've deployed an Ion, first deploy an ion with an resources/datomic/ion-config.edn
that consists of a map of the :app-name
of your application.
Change your resources/datomic/ion-config.edn
to the following map, and replace :app-name
with your application name:
{:app-name "app-name"}
Once this ion-config.edn is deployed, the Datomic Cloud system can be deleted.
Conclusion
In this tutorial, you have seen how ions can take ordinary Clojure functions, and install them in Datomic Cloud where they have in-memory access to Datomic data. You have used ions to deliver:
There is a lot more to explore! Here are some things to try:
- Use ions to implement a lambda that handles events from other AWS services. Check the ion-event-example project.
- Instead of wiring a web handler to a single function, use a routing library such as Compojure or pedestal.
- Learn to Authenticate with Cognito.