Introduction
Amazon Linux AMI (free) based on CentOS and completely decent OS for EC2, in fact, it is specially designed by Amazon for EC2:
Amazon Linux AMI is a supported and supported Linux image provided by Amazon Web Services for use on the Amazon Elastic Compute Cloud (Amazon EC2) . It is designed to provide a stable, secure, and high-performance runtime for applications running on Amazon EC2. It also includes packages that provide easy integration with AWS, [...]. Amazon Web Services provides ongoing security and service updates for all Amazon AMI instances. [...] [emphasis mine]
However, it is really not as widely used as some other distributions, and the most popular is probably Ubuntu due to its popularity in general and its specialized long-term support for EC2 in particular (see, for example, EC2StartersGuide , Ubuntu Cloud Images or a convenient list AMI Ubuntu for Amazon EC2 on alestic ). This has two drawbacks:
- You will find many more examples / tutorials / etc. for Ubuntu-based EC2, which makes the process easier.
- You will find a few smaller pre-compiled packages available for CentOS that require compilation in the end (but see below).
Decision
However, CentOS (and AMI Amazon Linux AMI) uses the Yum package manager to install and update packages from CentOS (and third-party) Repositories (Debian / Ubuntu uses the APT package manager instead - their inherent concepts are very similar), see for example , section Adding Packages to Amazon Linux AMI Basics :
In addition to the packages included with Amazon Linux AMI, Amazon provides a yum repository consisting of common Linux applications for use inside Amazon EC2. Amazon Linux AMI is configured to point to this repository by default for all yum actions. Packages can be installed by issuing yum commands. For instance:
# sudo yum install httpd
Accordingly, you can install make through yum install make (you can get a list of all available packages through yum list all ).
Be sure that you donβt really need this, since Amazon Linux AMI was designed to be binary compatible with the CentOS release series, and therefore packages created to run on CentOS should also run on Amazon Linux AMI . [emphasis mine]
The desired pptpd package is not part of the standard CentOS repositories, although it is available, but available to third parties. Additional packages for Enterprise Linux (EPEL) (see Letter P ) - I canβt comment on the viability of using this and against compiling yours, though.
Good luck