Burkholderia pseudomallei is a Gram-negative bacterium found in soil and the causative agent of a severe disease in humans and animals known as melioidosis. It is intrinsically resistant to many antibiotics and has been reported resistant to the drugs of choice; ceftazidime. Microbial communities in soil in the presence and absence of B. pseudomallei were investigated using metagenomics approach. The variation in bacterial species diversity was significantly higher in soil samples without B. pseudomallei. Abundances of phyla Actinobacteria and Firmicutes were found significantly higher in B. pseudomallei-negative soils. Bacillus amyloliquefaciens KKU1 in phylum Firmicutes was discovered from negative soil and its secondary metabolites could inhibit clinical, environmental and drug resistant isolates of B. pseudomallei, together with some pathogenic Gram-negative but not Gram-positive bacteria. The antimicrobial activity from KKU 1 against B. pseudomallei was abolished when treated with proteinase K, stable in a wide range of pH and remained active after heating at 100 °C for 15 min. Precipitated proteins from KKU1 were demonstrated to cause lysis and corrugated surfaces of B. pseudomallei. The minimum inhibitory concentrations and minimum bactericidal concentrations of the precipitated proteins from KKU1 against B. pseudomallei were 0.97 μg/ml and 3.9 μg/ml. Interestingly, Native SDS-PAGE showed small active compounds of less than 6 kDa, along with other information collectively suggesting the properties of antimicrobial peptides. For the first time, culture-independent information in melioidosis endemic area could lead to a suspected source of metabolites that may help defense against B. pseudomallei and other pathogenic Gram-negative bacteria.