Friday, December 16, 2016

canonical - How do Ubuntu updates appear on Amazon EC2?


I have Ubuntu 12.04 LTS installed in Amazon EC2 machine. Sometimes when I SSH into the machine I see a notice asking me to update some packages. Please see the screenshot image below


enter image description here


My Question



  1. How does updates notices appear on Amazon EC2?

  2. If these updates are new how are they shipped from Canonical to Amazon Server?




How does updates notices appear on Amazon EC2?



Your EC2 instance is just a machine like any others in this respect. Your package management updates the package lists from the repositories regularly by default on Ubuntu. When you log in to the system a script queries the package management for the amount of updates in the regular and security channels and displays it.



If these updates are new how are they shipped from Canonical to Amazon Server?



Canonical publishes the packages in the main repositories and also sets up mirrors to which your machine connects to in the default install. See the file /etc/apt/sources.list and files in /etc/apt/sources.list.d/ (if any).


Around the globe, many mirrors exist and Amazon is just one of them.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...