Skip to content

Review

We should quickly review what it is we've done in this section.

Compiling

We've compiled the application to a Linux binary. The binary has to be built for the Linux platform due to how it's going to be used. If we compile it for any other platform it will fail to run on our Ubuntu based EC2 instances.

With the binary compiled, we have one final step.

Packaging

We have a bunch of static assets we need to upload and install alongside the binary. These are images, HTML and CSS documents. Without these the application won't work as intended.

We package everything together into a simple ZIP file and we're done.

Next Steps

Now we're going to actually deploy the application we've packaged up using Ansible.


Last update: August 25, 2021