How install hashicorp vault on ec2 AWS?

how to install hashiCorp vault on ec2 AWS?

That is a very general question. As with any software there are numerous ways to manage the install. You could for example use cloud-init via userdata or run tools such as Ansible or Puppet.

In terms of the actual application you could install the binary from the Vault website, use a packaged version from a software distribution or use a Docker image.