Jump to content

Regional Armbian Apt mirrors


Recommended Posts

We've added some enhancements to our mirror redirect tool the allow you to choose a region.   


UPDATE: See Friendlier Documentation Here

The following regions are configured:

NA - North America

EU - Europe

AS - Asia (currently only china)


to use update the url in /etc/apt/sources.list.d/armbian.list from apt.armbian.com to apt.armbian.com/region/REGIONCODE



# cat /etc/apt/sources.list.d/armbian.list
deb http://apt.armbian.com/region/NA focal main focal-utils focal-desktop


If you'd like to choose a specifc mirror you can query https://apt.armbian.com/mirrors and find a mirror

Edited by lanefu
link to better documentation
Link to comment
Share on other sites

Donate your old hardware to community. Start a giveaway Raffle!

Some more mirror updates:

  • By default, geoip support will redirect you to the best regional mirror pool.   (it's not perfect)
  • Armbian-config now supports mirror selection:
    • depending on version of Armbian config you may need to first do apt update && apt install jq -y to install missing dependency :) 
    • Armbian-config -> personal -> mirrors
  • FOSSHOST mirror changes:
    • location specific Fosshost mirror domains are deprecated:
      • us.mirrors.fossho.st
      • us.mirorrs.fosshost.org
      • uk.mirrors.fossho.st
      • uk.mirrors.fosshost.org
    • FOSSHOST is now front-ending mirrors via the Fastly CDN see announcement from FOSSHOST.org
    • mirrors.fosthost.org and mirrors.fossho.st are all that is needed to use their Fastly CDN
    • Because Fastly is an on-demand caching CDN, performance will vary by your physical location.  Some may experience a positive improvement, or some may experience a negative improvement.
      • The FOSSHOST apt mirrors are most effective for those in Regions with poor internet connectivity and outside of greater Europe
      • Currently our automatic redirect has FOSSHOST  in the round-robin pool for North America and Asia.   Those in China may want to use a China Specific mirror.  Those in Asia outside of China will likely benefit for choosing the Fastly mirror
      • I recommend using the existing Armbian EU mirrors for those within Greater EU with good internet connectivity.
      • Since these Mirrors are caching, they work best when under high utilization. Ex: Great for apt indexes and common packages, extremely popular image downloads during release.   Less ideal for unpopular images which won't be cached.


We're very grateful for all our partners providing mirrors--and their extreme generosity in providing a vast amount of space.  We're always trying to optimize our package and image distribution.   Armbian's a unique project as our release output produces over 400 system images.   Seeding and distribution is significant.


If you have any questions or thoughts.. please share on this thread!





Link to comment
Share on other sites

Thanks.  It's not stated that you can filter on regions using jq:

curl -s http://apt.armbian.com/mirrors | jq -r '.NA[]'


Link to comment
Share on other sites

2 hours ago, ambiamber said:

you can filter on regions



If you are in NA and you will point to https://apt.armbian.com, our system will anyway serve you closest mirror out of those. We have improved and refactor this system quite a lot since. Its open source and your are welcome to peek into the code and understand how it works: https://github.com/armbian/armbian-router

Link to comment
Share on other sites


$ curl -I https://apt.armbian.com/
HTTP/2 302 
server: nginx/1.18.0
date: Mon, 21 Nov 2022 03:21:43 GMT
location: https://mirror-us-stl1.armbian.airframes.io/apt/
x-geo-distance: 1156601.990045


$ sudo traceroute -T -p 80  mirror-us-stl1.armbian.airframes.io | tail -n 1
 9  vmi1019518.contaboserver.net (  39.270 ms  39.239 ms giga-hostin.ear7.chicago2.level3.net (  38.339 ms
$ sudo traceroute -T -p 80  mirror.albony.xyz | tail -n 1
11 (  14.596 ms  14.433 ms  15.490 ms

The reflector selected mirror-us-stl1.armbian.airframes.io but mirror.albony.xyz has less than half as much latency, but more hops.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines