When I try to update my application packages using composer in terminal it shows me Killed error and terminate the process. It is mainly due to server Memory Issue. You can fix using bellow command. I test this command on my live server and it works well for me.

After running this command re-run your composer command. 

If you are looking for personal cloud you can use this link and get $10 in advance on signup.