Choosing AWS Instance Type for Keycloak

I setup a Keycloak server on AWS for testing/learning.

I used the t4g class which is ARM based, and installed Keycloak 13.0.0 on Ubuntu 20.04.

I found that anything less than t4g.small (which has 2GB Memory) simply does not work at all. Even SSH will only connect after a LONG wait. Keycloak will either not start or won’t respond in a web browser.

Is it worth trying again with an x86 processor (like a t3a series)? or is small the smallest instance that can run Keycloak?

I don’t believe that you will have success with ARM processors. I have a keycloak instance running on a t3a.small, but that is probably the smallest you could use.

1 Like