configure your own ssh username in user-data
The official Ubuntu AMIs create a default user with the username ubuntu which is used for the initial ssh access, i.e.:
ssh ubuntu@<HOST>
You can create other users with your preferred usernames using standard Linux commands, but it is difficult to change the ubuntu username while you are logged in to that account since that is one of the checks made by usermod:
$ usermod -l myname ubuntu
usermod: user ubuntu is currently logged in
There are a couple ways to change the username of the default user on a new Ubuntu instance; both passing in special content for the user-data.