What happens when I copy an AWS EC2 Instance from one region to another?

What exactly gets transferred when I copy an AWS EC2 Instance from one region to another?

  1. Do all the packages installed using yum get transferred?
  2. Are all the core packages (with my added content – e.g. special settings in php.ini etc) get transferred?
  3. Are all the files getting transferred?
  4. Are all the DBs (assuming I have MySQL installed directly on the server and not on a separate RDS instance) get transferred?


Proxmox KVM fails to start

My new server is Fujitsu Primergy RX1330 M1 with Intel® Xeon® Processor E3-1220

running either Proxmox V4 or Proxmox V3.4 i have this problem :

When i create a new virtual machine, during the start of the VM i get the error :

TASK ERROR: start failed: command ‘/usr/bin/kvm -id 100 -chardev
‘socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait’ -mon
‘chardev=qmp,mode=control’ -vnc
unix:/var/run/qemu-server/100.vnc,x509,password -pidfile
/var/run/qemu-server/100.pid -daemonize -smbios
‘type=1,uuid=38bd036e-4299-4e09-9b72-d02182812c25’ -name prox -smp
‘1,sockets=1,cores=1,maxcpus=1’ -nodefaults -boot
‘menu=on,strict=on,reboot-timeout=1000’ -vga cirrus -cpu
kvm64,+lahf_lm,+x2apic,+sep -m 512 -k en-us -cpuunits 1000 -device
‘piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2’ -device
‘usb-tablet,id=tablet,bus=uhci.0,port=1’ -device
‘virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3’ -iscsi
‘initiator-name=iqn.1993-08.org.debian:01:32f0f95336c’ -drive
-device ‘ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200’
-drive ‘file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-ide0,format=qcow2,aio=native,cache=none,detect-zeroes=on’
-device ‘ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100’
-netdev ‘type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown’
-device ‘e1000,mac=3A:C0:2A:97:6D:2D,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300”
failed: exit code 1

I have tried multiple ISO both 32 and 64 bits, the BIOS Version is 2.15.1236, the VT-d and Intel Virtualization Technology are enabled.


What are all the flags in a dig response?

dig responses return flags in the comments section:

$ dig example.com +noall +comments

; <<>> DiG 9.8.3-P1 <<>> example.com +noall +comments
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29045
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

On the last line here, there are flags:

flags: qr rd ra;

What are all the possible flags that dig has?

Here’s a list of the ones I’ve found so far:


Connect your Docker container to enterprise services with the Bluemix Secure Gateway

The Bluemix Secure Gateway service offers a flexible means to
securely expose back-end enterprise services to your Bluemix applications.
Creating the Secure Gateway is relatively straightforward through the Bluemix
user interface. Ensuring that the gateway is secure and then leveraging the
gateway require some additional steps. This tutorial shows you how to
configure the gateway, how to add destinations to local enterprise services,
how to leverage a Docker container to establish the connection from your
enterprise, and how to access the service from your applications.


Run a SAST scan of a Java application by using Bluemix Static Analyzer

Save time and money by finding source code vulnerabilities early in the
software development lifecycle by using the new Static Analyzer service on
Bluemix. The Static Analyzer service combines the power of static application
security testing (SAST) with intelligent findings analysis (IFA) technology to
provide you with high-confidence, actionable findings.